Index: modules/overlay/overlay-parent.js
===================================================================
RCS file: /cvs/drupal/drupal/modules/overlay/overlay-parent.js,v
retrieving revision 1.12
diff -u -r1.12 overlay-parent.js
--- modules/overlay/overlay-parent.js	6 Jan 2010 04:03:39 -0000	1.12
+++ modules/overlay/overlay-parent.js	6 Jan 2010 11:09:39 -0000
@@ -394,6 +394,10 @@
   $(document).unbind('mousedown.dialog-overlay click.dialog-overlay');
   $('.ui-widget-overlay').bind('mousedown.dialog-overlay click.dialog-overlay', function (){return false;});
 
+  // Set focus on child window so browsers default keyhandler actions do work
+  // again, as ui.dialog bound a very aggressive keypress handler.
+  self.$iframeBody.focus();
+
   // Reset the scroll to the top of the window so that the overlay is visible again.
   window.scrollTo(0, 0);
 
