Dialog

Open a dialog with a <button data-mdb-toggle="modal"> and a data-mdb-target attribute that equals the id of the dialog's <div>

  
  
<!-- Dialog Trigger -->
<button type="button" class="btn btn-primary" data-mdb-toggle="modal" data-mdb-target="#modal1"
>
Open Dialog
</button>

<!-- Dialog -->
<div id="modal1" class="modal fade">
  <div class="modal-dialog modal-dialog-centeredt">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Form</h5>
      </div>
      <div class="modal-body">
        <p>A bunch of text</p>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-text" data-mdb-dismiss="modal" >Cancel</button>
        <button type="button" class="btn btn-primary">Save</button>
      </div>
    </div>
  </div>
</div>