Modal
Modal are windows displayed over the entire document such that it grabs the attention of the user and demands an action, if required.
Refer the below code to use the modal. Make changes as per your requirements.
<div class="modal">
<div class="modal-content p-2">
<h2 class="modal-text">Are you sure ?</h2>
<button class="modal-dismiss-btn">
<i class="far fa-times-circle fa-2x"></i>
</button>
<div class="modal-btns mt-2 g-1">
<button class="btn py-sm px-1 btn-primary">Yes</button>
<button class="btn py-sm px-1 btn-secondary">No</button>
</div>
</div>
</div>