HasDialog Method
Indicates whether the browser message box is currently open.
C# Syntax
bool HasDialog()