<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;Delete this automated activity?</h4>
      </div>
      <div class="modal-body">
        Are you sure you want to delete this automated activity?
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-danger" ng-click="$event.stopPropagation();deleteMacro(data.mode, data.linkId, data.roomId, data.deviceId, data.btnId);$hide()"><i class="fa fa-lg fa-trash-o"></i>&nbsp;&nbsp;Delete</button>
        <button type="button" class="btn btn-primary" ng-click="$event.stopPropagation();$hide()">Cancel</button>
      </div>
    </div>
  </div>
</div>