Index: /FCKeditor/branches/features/floating_dialog/editor/fckdialog.html
===================================================================
--- /FCKeditor/branches/features/floating_dialog/editor/fckdialog.html	(revision 1225)
+++ /FCKeditor/branches/features/floating_dialog/editor/fckdialog.html	(revision 1226)
@@ -304,5 +304,5 @@
 	// Points the src to a non-existent location to avoid loading errors later, in case the dialog
 	// haven't been completed loaded at this point.
-	document.getElementById( 'frmMain' ).src = 'javascript: void(0);' ;
+	document.getElementById( 'frmMain' ).src = 'about:blank' ;
 
 	if ( !dontFireChange && !FCK.EditMode )
@@ -512,4 +512,8 @@
 	else
 		view = evt.view ;
+
+	var target = evt.srcElement || evt.target ;
+	if ( target.id == 'closeButton' )
+		return ;
 
 	LastCoords = GetMouseCoordinates( evt ) ;
