Returns if a dialog is currently displayed.
None.
Returns true if a dialog is currently displayed, and false otherwise.
First get a reference to the client-side editor:
var editor = $find('<%= Editor.ClientID %>');
Then use it to determine if a dialog is displayed:
var inDialog = editor.InDialog();