likeastore / ngDialog

Modals and popups provider for Angular.js applications
http://likeastore.github.io/ngDialog
3.14k stars 692 forks source link

Close the topmost ngDialog Instance #584

Open ippezshelby opened 6 years ago

ippezshelby commented 6 years ago

Here is my scenario, i have open an ngDialog from which i opened another ngDialog Instance but click on a button, from which am to submit form input details after filling in. Is there a way when i click 'Submit' button, when no errors and on successful submission of the form, the topmost ngDialog is closed and the parent from which it (one to be closed) remains open