Returns whether the window is modal.
%TRUE if the window is set to be modal and establishes a grab when shown
See Implementation
Returns whether the window is modal.