public void ShowAddPageDialog() { //if the dialog is already showing, it is up to this method we're calling to detect that and ignore our request RunJavaScript("FrameExports.showAddPageDialog(false);"); }