<md-dialog add-item-dialog >
  <md-dialog-content class="md-dialog-content">
    
    <h2 class="md-title">Edit Port</h2>
    
    <p ng-if="item.form.$submitted && item.form.$invalid" class="md-warn" layout="row" layout-align="start center">
      <i class="material-icons">error_outline</i>
      <span>&nbsp; All fields are required.</span>
    </p>
    <form name="item.form" ng-submit="ctrl.edit()">
      <div layout="column" class="input-column">
        <md-input-container flex>
          <label>Port</l