Brings the displayed dialog to the foreground. However, if the dialog is being displayed modally using SetModalDialog, this function will be invalid (will fail).
BringDialogToTop can also be used in common dialogs. For the view names of common dialogs, please refer to the explanation of SetModalDialog.