AlertDialog.setModal

void setModal(bool modal)

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

Parameters

modalthe new value