Index: /FCKeditor/trunk/_whatsnew.html
===================================================================
--- /FCKeditor/trunk/_whatsnew.html	(revision 1608)
+++ /FCKeditor/trunk/_whatsnew.html	(revision 1609)
@@ -145,4 +145,6 @@
 			also removes the attributes from the cleaned text. The list of attributes is configurable with 
 			FCKConfig.RemoveAttributes.</li>
+		<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1596">#1596</a>] On Safari,
+			dialogs have now rigth-to-left layout when it runs a RTL language, like Arabic.</li>
 	</ul>
 	<p>
Index: /FCKeditor/trunk/editor/fckdialog.html
===================================================================
--- /FCKeditor/trunk/editor/fckdialog.html	(revision 1608)
+++ /FCKeditor/trunk/editor/fckdialog.html	(revision 1609)
@@ -86,5 +86,5 @@
 
 // Sets the language direction.
-var langDir = window.document.dir = E.FCKLang.Dir ;
+var langDir = document.documentElement.dir = E.FCKLang.Dir ;
 
 // For IE6-, the fck_dialog_ie6.js is loaded, used to fix limitations in the browser.
@@ -641,5 +641,5 @@
 
 		// Set the language direction.
-		innerDoc.dir = langDir ;
+		innerDoc.documentElement.dir = langDir ;
 
 		// Sets the Skin CSS.
