Multiple modal dialog windows needs to be closed on a single click
I have section in which i have a link, clicking on which will open a modal dialog window. This modal window will have few text input fields and if user clicks on cancel button in the modal window then another dialog should appear asking for confirmation with ok and cancel button. Clicking on Ok button should close both the confirmation and the original dialog and the initial section should be displayed. Clicking on cancel button in the confirmation dialog should close only the confirmation dialog.
I am not sure how to configure to close multiple modal windows in a single click. Does anyone have any idea how to address this requirement?
I did not use any JS scripts. In the first modal dialog if the user clicks on cancel button i have configured in the actions tab of the cancel button to show another modal dialog that has the close confirmation message with ok and cancel buttons. Now i am stuck-up at how to configure the ok button on the second modal dialog , it should be closing both the modal dialogs when user clicks on ok button.
Yeah i am launching an overlay on click of cancel in first modal dialog and you got it right , i want to close both the dialogs when the user clicks on cancel on the 2nd window. I know we can use JS to show the confirmation popup but my client does not want me to have any JS as it will give a guardrail warning. So i want to achieve this functionality without any JS script or custom code.
On-Click of the Ok button. Simply add "refresh this current harness" which will close both the modal windows. If there is some operations to be performed before the close means do call "run activity" or "data transform" or "anyother action" before "refresh this current harness".
Please check OOTB modal dialog behavior in User Interface->UI Gallery: Modal Dialog.
A Modal Dialog contains two buttons at the bottom: Cancel and Submit.
When user clicks on Cancel, the Modal Dialog will disappear. Please let us know how your Cancel button in Modal Dialog will launch another confirmation dialog. Do you have any special configuration applied on that Cancel button? Please share.