is an option to functions such as CreateDialog that specifies whether the dialog that is created should be modal to the Mathematica front end.


  • With the default setting Modal->False, other windows can be used even when the dialog is open.
  • With Modal->True, no other Mathematica windows can be used until the dialog has been closed. If there is no mechanism for closing the dialog, Mathematica will therefore effectively freeze.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

Create a modal dialog that blocks operations in other open notebooks:

New in 6
New to Mathematica? Find your learning path »
Have a question? Ask support »