close

fun close(returnValue: String? = this.returnValue): Promise<Unit>(source)

Closes the dialog and fires a cancelable close event. After a dialog's animation, a closed event is fired.