Is there a way to display a confirmation modal like when deleting resource for update case? See the screenshot below.

I didn't find any solution yet. I saw few more similar questions but no one answered. Thank you for your help!
Is there a way to display a confirmation modal like when deleting resource for update case? See the screenshot below.

I didn't find any solution yet. I saw few more similar questions but no one answered. Thank you for your help!
I was having the same problem but then I used bootstrap modal . I put this code inside my form:
<button type="button" class="add-btn m-4 shadow" style="border: none;" data-toggle="modal" data-target="#exampleModal">Valider</button>
<!-- Modal -->
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Modal title</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
...
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="submit" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>