Programmer's Guide > Interfaces > Window interface > modal attribute
  
modal attribute
A boolean value indicating if the window is modal. Modal windows grab all mouse and key events when open. The modal attribute can only be set before the window is displayed.
modal
Access
read-write
Returns
boolean