Dialog() is deprecated and has been replaced with New Window() and the Modal message. Scripts based on Dialog() will not run in the future.
The following sections illustrate how to rewrite Dialog() scripts as New Window() scripts.

Help created on 9/19/2017