<div class="modal" tabindex="-1" role="dialog">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title"><i class="fa fa-lg fa-exclamation-circle"></i>&nbsp;Add New Model</h4>
      </div>
      <div class="modal-body">
        <div class="form-group">
          <label for="model-name">Model</label>
          <input class="form-control" id="model-name" type="text" name="modelName" placeholder="Enter New Model" ng-model="dbEdit.newModel.name" required>
        </div>
        <div class="form-group">
          <label for="model-id">Model ID</label>
          <input class="form-control" id="model-id" type="number" name="modelId" placeholder="Enter New ID" ng-model="dbEdit.newModel.id" required>
        </div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary" ng-disabled="!dbEdit.newModel.name || !dbEdit.newModel.id" ng-click="$event.stopPropagation();addModel();$hide()">Save</button>
        <button type="button" class="btn btn-danger" ng-click="$event.stopPropagation();$hide()">Cancel</button>
      </div>
    </div>
  </div>
</div>