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