2

Any suggestions on what is the best way to get a confirm delete dialog within a modal ? I don't think open modal on top of an other modal is the best way.

3
  • Just to make certain I understand: the user is deleting information in the modal?
    – Mayo
    Commented Apr 2, 2015 at 1:04
  • Yes, that's right.
    – user64235
    Commented Apr 2, 2015 at 1:26
  • Please include a wireframe or a screen shot because it's hard to consider alternatives without seeing what constraints you have on the dialog.
    – tohster
    Commented Apr 2, 2015 at 19:59

1 Answer 1

3

Apps handle this situation all the time, and you're correct pop-up/modal confirmations are not usually a good option.

Here's an example: A sales representative opens up a modal in order to delete a contact, a vendor, or whatever. On selecting submit a div is revealed asking "Are You Sure?" When the rep presses yes the delete goes through.

If the representative still has more actions to complete on the modal then the modal remains open. Depending upon your app there may be no need for the modal to remain open in which case the modal can close as well. Bear in mind, depending upon your users, and how this fits into their work expectations, the double action (form submission and closing the modal) may be very unsettling so it may make sense to tell the user that on submission the modal will close and he will be returned to original page.

3
  • 1
    I concur. Stay in the modal and change the content of the modal. Commented Apr 2, 2015 at 8:32
  • it might also be worth showing an option to 'undo' the delete where the delete button once was. This will help to reduce steps to amend any accidental deletions or changing of hearts.
    – Chris
    Commented Apr 2, 2015 at 13:10
  • @Chris - absolutely.
    – Mayo
    Commented Apr 2, 2015 at 13:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.