Index: /CKEditor/trunk/_source/plugins/wysiwygarea/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/wysiwygarea/plugin.js	(revision 4278)
+++ /CKEditor/trunk/_source/plugins/wysiwygarea/plugin.js	(revision 4279)
@@ -123,4 +123,11 @@
 	}
 
+	// DOM modification here should not bother dirty flag.(#4385)
+	function restoreDirty( editor )
+	{
+		if( !editor.checkDirty() )
+			setTimeout( function(){ editor.resetDirty() } );
+	}
+
 	/**
 	 *  Auto-fixing block-less content by wrapping paragraph (#3190), prevent
@@ -135,6 +142,5 @@
 			range = selection.getRanges()[0],
 			body = editor.document.getBody(),
-			enterMode = editor.config.enterMode,
-			isDirtyBeforeFix = editor.checkDirty();
+			enterMode = editor.config.enterMode;
 
 		// When enterMode set to block, we'll establing new paragraph only if we're
@@ -145,4 +151,5 @@
 			 && !path.block )
 		{
+			restoreDirty( editor );
 			var bms = selection.createBookmarks(),
 				fixedBlock = range.fixBlock( true,
@@ -195,4 +202,5 @@
 		if ( lastNode && lastNode.getName && ( lastNode.getName() in nonExitableElementNames ) )
 		{
+			restoreDirty( editor );
 			var paddingBlock = editor.document.createElement(
 					( CKEDITOR.env.ie && enterMode != CKEDITOR.ENTER_BR ) ?
@@ -200,8 +208,4 @@
 			body.append( paddingBlock );
 		}
-
-		// DOM modification here should not bother dirty flag.(#4385)
-		if( !isDirtyBeforeFix )
-			editor.resetDirty();
 	}
 
