Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html	(revision 4374)
+++ /CKEditor/trunk/CHANGES.html	(revision 4375)
@@ -89,4 +89,6 @@
 		<li><a href="http://dev.fckeditor.net/ticket/4467">#4467</a> : Fixed bug to use custom icon in context menus. Thanks to gergoe.</li>
 		<li><a href="http://dev.fckeditor.net/ticket/4190">#4190</a> : Fixed select field dialog layout in Safari.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4518">#4518</a> : Fixed unable to open dialog without editor focus in IE.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4519">#4519</a> : Fixed maximize without editor focus throw error in IE.</li>
 	</ul>
 	<h3>
Index: /CKEditor/trunk/_source/core/command.js
===================================================================
--- /CKEditor/trunk/_source/core/command.js	(revision 4374)
+++ /CKEditor/trunk/_source/core/command.js	(revision 4375)
@@ -13,5 +13,5 @@
 			return false;
 
-		if( commandDefinition.editorFocus )     // Give editor focus if necessary.
+		if( this.editorFocus )     // Give editor focus if necessary (#4355).
 			editor.focus();
 
Index: /CKEditor/trunk/_source/plugins/maximize/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/maximize/plugin.js	(revision 4374)
+++ /CKEditor/trunk/_source/plugins/maximize/plugin.js	(revision 4375)
@@ -121,5 +121,6 @@
 						if ( editor.mode == 'wysiwyg' )
 						{
-							savedSelection = editor.getSelection().getRanges();
+							var selection = editor.getSelection();
+							savedSelection = selection && selection.getRanges();
 							savedScroll = mainWindow.getScrollPosition();
 						}
@@ -236,9 +237,11 @@
 						if ( editor.mode == 'wysiwyg' )
 						{
-							editor.getSelection().selectRanges( savedSelection );
-
-							var element = editor.getSelection().getStartElement();
-							if ( element )
-								element.scrollIntoView( true );
+							if ( savedSelection )
+							{
+								editor.getSelection().selectRanges(savedSelection);
+								var element = editor.getSelection().getStartElement();
+								element && element.scrollIntoView( true );
+							}
+
 							else
 								mainWindow.$.scrollTo( savedScroll.x, savedScroll.y );
