public/ckeditor/4.4dev/plugins/dialog/plugin.js
function() {
			if ( !this.parts.dialog.isVisible() )
				return;

			this.fire( 'hide', {} );
			this._.editor.fire( 'dialogHide', this );
			// Reset the tab page.
			this.selectPage( this._.tabIdList[ 0 ] );
			var element = this._.element;
			element.setStyle( 'display', 'none' );
			this.parts.dialog.setStyle( 'visibility', 'hidden' );
			// Unregister all access keys associated with this dialog.
			unregisterAccessKey( this );

			// Close any child(top) dialogs first.
			while ( CKEDITOR.dialog._.currentTop != this )
				CKEDITOR.dialog._.currentTop.hide();

			// Maintain dialog ordering and remove cover if needed.
			if ( !this._.parentDialog )
				hideCover( this._.editor );
			else {
				var parentElement = this._.parentDialog.getElement().getFirst();
				parentElement.setStyle( 'z-index', parseInt( parentElement.$.style.zIndex, 10 ) + Math.floor( this._.editor.config.baseFloatZIndex / 2 ) );
			}
			CKEDITOR.dialog._.currentTop = this._.parentDialog;

			// Deduct or clear the z-index.
			if ( !this._.parentDialog ) {
				CKEDITOR.dialog._.currentZIndex = null;

				// Remove access key handlers.
				element.removeListener( 'keydown', accessKeyDownHandler );
				element.removeListener( 'keyup', accessKeyUpHandler );

				var editor = this._.editor;
				editor.focus();

				// Give a while before unlock, waiting for focus to return to the editable. (#172)
				setTimeout( function() {
					editor.focusManager.unlock();

					// Fixed iOS focus issue (#12381).
					// Keep in mind that editor.focus() does not work in this case.
					if ( CKEDITOR.env.iOS ) {
						editor.window.focus();
					}
				}, 0 );

			} else
				CKEDITOR.dialog._.currentZIndex -= 10;

			delete this._.parentDialog;
			// Reset the initial values of the dialog.
			this.foreach( function( contentObj ) {
				contentObj.resetInitValue && contentObj.resetInitValue();
			} );
		}
function() {
			if ( !this.parts.dialog.isVisible() )
				return;

			this.fire( 'hide', {} );
			this._.editor.fire( 'dialogHide', this );
			// Reset the tab page.
			this.selectPage( this._.tabIdList[ 0 ] );
			var element = this._.element;
			element.setStyle( 'display', 'none' );
			this.parts.dialog.setStyle( 'visibility', 'hidden' );
			// Unregister all access keys associated with this dialog.
			unregisterAccessKey( this );

			// Close any child(top) dialogs first.
			while ( CKEDITOR.dialog._.currentTop != this )
				CKEDITOR.dialog._.currentTop.hide();

			// Maintain dialog ordering and remove cover if needed.
			if ( !this._.parentDialog )
				hideCover( this._.editor );
			else {
				var parentElement = this._.parentDialog.getElement().getFirst();
				parentElement.setStyle( 'z-index', parseInt( parentElement.$.style.zIndex, 10 ) + Math.floor( this._.editor.config.baseFloatZIndex / 2 ) );
			}
			CKEDITOR.dialog._.currentTop = this._.parentDialog;

			// Deduct or clear the z-index.
			if ( !this._.parentDialog ) {
				CKEDITOR.dialog._.currentZIndex = null;

				// Remove access key handlers.
				element.removeListener( 'keydown', accessKeyDownHandler );
				element.removeListener( 'keyup', accessKeyUpHandler );

				var editor = this._.editor;
				editor.focus();

				// Give a while before unlock, waiting for focus to return to the editable. (#172)
				setTimeout( function() {
					editor.focusManager.unlock();

					// Fixed iOS focus issue (#12381).
					// Keep in mind that editor.focus() does not work in this case.
					if ( CKEDITOR.env.iOS ) {
						editor.window.focus();
					}
				}, 0 );

			} else
				CKEDITOR.dialog._.currentZIndex -= 10;

			delete this._.parentDialog;
			// Reset the initial values of the dialog.
			this.foreach( function( contentObj ) {
				contentObj.resetInitValue && contentObj.resetInitValue();
			} );
		}
function ( ) { if ( ! this . parts . dialog . isVisible ( ) ) return ; this . fire ( 'hide' , { } ) ; this . _ . editor . fire ( 'dialogHide' , this ) ; // Reset the tab page.
 this . selectPage ( this . _ . tabIdList [ 0 ] ) ; var element = this . _ . element ; element . setStyle ( 'display' , 'none' ) ; this . parts . dialog . setStyle ( 'visibility' , 'hidden' ) ; // Unregister all access keys associated with this dialog.
 unregisterAccessKey ( this ) ; // Close any child(top) dialogs first.
 while ( CKEDITOR . dialog . _ . currentTop != this ) CKEDITOR . dialog . _ . currentTop . hide ( ) ; // Maintain dialog ordering and remove cover if needed.
 if ( ! this . _ . parentDialog ) hideCover ( this . _ . editor ) ; else { var parentElement = this . _ . parentDialog . getElement ( ) . getFirst ( ) ; parentElement . setStyle ( 'z-index' , parseInt ( parentElement . $ . style . zIndex , 10 ) + Math . floor ( this . _ . editor . config . baseFloatZIndex / 2 ) ) ; } CKEDITOR . dialog . _ . currentTop = this . _ . parentDialog ; // Deduct or clear the z-index.
 if ( ! this . _ . parentDialog ) { CKEDITOR . dialog . _ . currentZIndex = null ; // Remove access key handlers.
 element . removeListener ( 'keydown' , accessKeyDownHandler ) ; element . removeListener ( 'keyup' , accessKeyUpHandler ) ; var editor = this . _ . editor ; editor . focus ( ) ; // Give a while before unlock, waiting for focus to return to the editable. (#172)
 setTimeout ( function ( ) { editor . focusManager . unlock ( ) ; // Fixed iOS focus issue (#12381).
 // Keep in mind that editor.focus() does not work in this case.
 if ( CKEDITOR . env . iOS ) { editor . window . focus ( ) ; } } , 0 ) ; } else CKEDITOR . dialog . _ . currentZIndex -= 10 ; delete this . _ . parentDialog ; // Reset the initial values of the dialog.
 this . foreach ( function ( contentObj ) { contentObj . resetInitValue && contentObj . resetInitValue ( ) ; } ) ; }
Hides the dialog box.

dialogObj.hide();
Hides the dialog box .