1 !function(a){a.ui.dialog.prototype.options.closeOnEscape=!1,a.widget("wp.wpdialog",a.ui.dialog,{widgetEventPrefix:"wpdialog",open:function(){var a;tinyMCEPopup&&"undefined"!=typeof tinyMCE&&(a=tinyMCE.activeEditor)&&!a.isHidden()&&tinyMCEPopup.init(),this.isOpen()||!1===this._trigger("beforeOpen")||(this._super(),this.element.focus(),this._trigger("refresh"))}})}(jQuery);