UI::CloseDialog() — Close an open dialog
boolean CloseDialog() (
void)
Returns true on success.
Closes the most recently opened dialog. It is an error to call CloseDialog if no dialog is open.