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