Support Article

Confirm Modal not showing when user clicks on the cross icon



Confirm Modal is not showing when user clicks on the cross icon. When the user opens a flow in a modal dialog and makes any updates, after this if the user tries to close the window, the user is not prompted the confirm screen.

Error Messages

Not Applicable

Steps to Reproduce

  1. Open a flow in modal dialog.
  2. Make any updates.
  3. Try closing the window.
  4. Observe: the confirm screen is not prompted.

Root Cause

This is an expected behavior.


Perform the following local-change:

Put a link in the Modal dialog and also added
an action to call "RunScript".

Script code:

function showWarning() {
alert("in show warning");
var ans = confirm("Do you want to close ?");
if (ans)

Published May 19, 2017 - Updated June 9, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.