<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;Set</h4>
      </div>
      <div class="modal-body">
        Overwrite the module database?
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary" ng-click="$event.stopPropagation();setDbTwowayModel();$hide()">OK</button>
        <button type="button" class="btn btn-danger" ng-click="$event.stopPropagation();$hide()">Cancel</button>
      </div>
    </div>
  </div>
</div>