JavaScript API Reference/Ab.view.View object
View.closeDialog()
Close the dialog window without confirmation.
Parameters:
none
Example:
Force the dialog to close from the opener view:
View.closeDialog();
Force the dialog to close from the dialog view:
opener.View.closeDialog();