Index: customize-loader.dev.js
===================================================================
--- customize-loader.dev.js	(revision 20375)
+++ customize-loader.dev.js	(working copy)
@@ -17,10 +17,21 @@
 				Loader.element.toggleClass('collapsed');
 				return false;
 			});
+			
+			window.location.hash = '';
 		},
 		open: function( params ) {
 			params.customize = 'on';
 
+			window.location.hash = '#customize';
+			
+			var hash = window.location.hash;
+			setInterval(function(){
+				if (window.location.hash != hash) {
+					Loader.close();
+				}
+			}, 100);
+
 			this.iframe = $( '<iframe />', {
 				src: this.base + '?' + jQuery.param( params )
 			}).appendTo( this.element );
@@ -30,6 +41,7 @@
 			});
 		},
 		close: function() {
+			window.location.hash = '';
 			this.element.fadeOut( 200, function() {
 				Loader.iframe.remove();
 				Loader.iframe = null;
