Too add that , user submitting a from which is a Model dialog, on click submit button i wanted display a confirmation message , we cant display one more Modal dialog on top of a Modal dialog for confirmation . so can we use Expression builder
Can you try having two sections(the other section is for confirmation message) inside a single section place visibility condition on each section. Hide the default flow action buttons and place a normal button . On Click of button refresh section and run post activity and set the make the visibility condition for confirmation section true.
You have two options: 1. One you close the first modal dialog and show another for confirmation/Warning message 2. In the same modal dialog, include one more section on top with hidden condition. When a warning is raised, show the section.
You can implement one of them according to the requirement.
If you want a confirmation message on top of a modal dialog, you can write a custom JS script that will either display a Confirm message or Alert message.. On click on of the button in the modal dialog, you can call the JS function which will in turn display the alert.