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