DialogReturn

DialogReturn[expr]
closes a dialog window, returning the expression expr from the dialog.

DialogReturn[]
closes a dialog window, returning Null.

DetailsDetails

Introduced in 2007
(6.0)