closeDialog
Force dismiss an ongoing dialog which is currently being shown or was in the backStack. This respects neither handleOnDismissRequest nor DialogScope.goBack's backstack.
Parameters
key
The key that was used to CreateDialog.
Throws
When the dialog associated with the key does not exist in the backstack.