diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_fixDialogActions.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_fixDialogActions.xml
index 60a9fe1f3e8e5f74bb2a4eed1d93a5e924362f74..5d78e2b6f5d761fcfdfbd599736067a691503625 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_fixDialogActions.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_fixDialogActions.xml
@@ -80,8 +80,9 @@ for ai in print_action_list:\n
   ai_copy = ai.copy()\n
   # this is quite low level. It may require to be done from file system code in\n
   # the future.\n
-  ai_copy[\'original_url\'] = ai_copy[\'url\']\n
-  ai_copy[\'url\'] = addDialogIfNeeded(ai_copy[\'url\'])\n
+  ai_copy.update(dict(\n
+                    original_url=ai_copy[\'url\'],\n
+                    url=addDialogIfNeeded(ai_copy[\'url\'])))\n
   new_print_action_list.append( ai_copy )\n
 \n
 return new_print_action_list\n
@@ -133,7 +134,7 @@ return new_print_action_list\n
                             <string>_getiter_</string>
                             <string>ai</string>
                             <string>ai_copy</string>
-                            <string>_write_</string>
+                            <string>dict</string>
                           </tuple>
                         </value>
                     </item>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
index c5316a94dd8abdc43d79e0273243abf33a91a96c..9a943a2366930a916cacafd0b3662fe517140b0d 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
@@ -1 +1 @@
-848
\ No newline at end of file
+849
\ No newline at end of file