I have a modal window and I need to pop an alert box when user deletes a certain item on the screen as, "Are you sure you want to delete?". There is no way that I can remove this modal window. Is there a better way of displaying that alert message?


Instead of displaying such alert messages it is a good practice to provide an undo feature (see https://goodui.org/home.php#8).


  • Whilst your answer might be correct, you should provide block quote of the key content that addresses the problem in your post as links can often change URLs. – RobbyReindeer Jun 14 '18 at 13:56

Your Answer

