Returns whether the window is modal.
See set_modal.
a Window
true if the window is set to be modal and establishes a grab when shown