Notifying the User of Errors
The DIALOG_MESSAGE function creates a modal (blocking) dialog box that can be used to display information for the user. The dialog must be dismissed, by clicking on one of its option buttons, before execution can continue.
See "DIALOG_MESSAGE" (IDL Reference Guide) for details or the MEMORY routine "Examples" section in the IDL Reference Guide for an example of using DIALOG_MESSAGE.