({{, (RefLink[Modal, paclet:ref/Modal]) 
is an option to functions such as (RefLink[CreateDialog, paclet:ref/CreateDialog]) that specifies whether the dialog that is created should be modal to the Wolfram System front end.}})

OpenersNotesSection(Spacer1)Details

With the default setting (RefLink[Modal, paclet:ref/Modal])->(RefLink[False, paclet:ref/False]), other windows can be used even when the dialog is open.

With (RefLink[Modal, paclet:ref/Modal])->(RefLink[True, paclet:ref/True]), no other Wolfram System windows can be used until the dialog has been closed. If there is no mechanism for closing the dialog, the Wolfram System will therefore effectively freeze.

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

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

CreateDialog[{TextCell["xxx"],DefaultButton[]},Modal->True];

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[DialogReturn, paclet:ref/DialogReturn])  ▪  (RefLink[Input, paclet:ref/Input])  ▪  (RefLink[Abort, paclet:ref/Abort])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Creating Dialog Boxes, paclet:tutorial/CreatingDialogBoxes])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Dialog Boxes, paclet:guide/DialogBoxes])}})}})