Displays a dialog similar to the one shown.Used primarily for the purpose of displaying information to the user.
Set Message Input and OK Button Name.
Enter the text you want to display in the message portion of the dialog.
Change this parameter if you want to change the label displayed on the OK button.
The action is complete when the user closes the dialog by pressing OK in the dialog. When the dialog is displayed, the action is not completed.
When other actions have finished executing and wait for this action to complete, note the above.