Index: modules/overlay/overlay-parent.js
===================================================================
RCS file: /cvs/drupal/drupal/modules/overlay/overlay-parent.js,v
retrieving revision 1.18
diff -u -r1.18 overlay-parent.js
--- modules/overlay/overlay-parent.js	11 Jan 2010 16:49:47 -0000	1.18
+++ modules/overlay/overlay-parent.js	11 Jan 2010 23:03:14 -0000
@@ -361,6 +361,12 @@
     var absolute = location.href.match(/https?:\/\/[^\/]*/)[0];
     link = absolute + link;
   }
+
+  // If the link is already open, force the haschange event.
+  if (location.href == link) {
+    $(window).trigger('hashchange.overlay-event');
+  }
+
   location.href = link;
   return true;
 };

