A promise which will resolve once the dialog has been dismissed
class Dialog { dismiss(): Promise<void>; }
Returns:
Promise<void>