Returns whether the dialog is modal.
See set_modal.
a NativeDialog
true if the dialog is set to be modal