Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html	(revision 7401)
+++ /CKEditor/trunk/CHANGES.html	(revision 7402)
@@ -69,4 +69,5 @@
 		<li><a href="http://dev.ckeditor.com/ticket/8324">#8324</a> : [IE8] Fix undo generate error when control type element is selected.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/7946">#7946</a> : Fix find dialog result doesn't scroll into view when editor is off the view port.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/8157">#8157</a> : Fix editor leaves object element selection handler covers dialog.</li>
 	</ul>
 	<h3>
Index: /CKEditor/trunk/_source/plugins/selection/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/selection/plugin.js	(revision 7401)
+++ /CKEditor/trunk/_source/plugins/selection/plugin.js	(revision 7402)
@@ -334,18 +334,19 @@
 							});
 
-						// IE before version 8 will leave cursor blinking inside the document after
-						// editor blurred unless we clean up the selection. (#4716)
-						if ( CKEDITOR.env.ie && CKEDITOR.env.version < 8 )
-						{
-							editor.on( 'blur', function( evt )
-							{
-								// Try/Catch to avoid errors if the editor is hidden. (#6375)
-								try
-								{
-									editor.document && editor.document.$.selection.empty();
-								}
-								catch (e) {}
-							});
-						}
+						// [IE] Iframe will still keep the selection when blurred, if
+						// focus is moved onto a non-editing host, e.g. link or button, but
+						// it becomes a problem for the object type selection, since the resizer
+						// handler attached on it will mark other part of the UI, especially
+						// for the dialog. (#8157)
+						// [IE<8] Even worse For old IEs, the cursor will not vanish even if
+						// the selection has been moved to another text input in some cases. (#4716)
+						//
+						// Now the range restore is disabled, so we simply force IE to clean
+						// up the selection before blur.
+						CKEDITOR.env.ie && doc.getWindow().on( 'blur', function()
+						{
+							// Error proof when the editor is not visible. (#6375)
+							try{ doc.$.selection.empty(); } catch ( er){}
+						});
 
 						// Listening on document element ensures that
