code: function resizeWithWindow( dialog ) {
  		var win = CKEDITOR.document.getWindow();
  		function resizeHandler() { dialog.layout(); }
  		win.on( 'resize', resizeHandler );
  		dialog.on( 'hide', function() { win.removeListener( 'resize', resizeHandler ); } );
  	}
docs: Re-layout the dialog on window resize.