AlertDialog.getModal

bool getModal()

Returns whether the alert blocks interaction with the parent window while it is presented.

Returns

TRUE if the alert is modal