title: functionCallOnClose not working in JQuery DOMWindow plugin
body: <p><a href="http://jsfiddle.net/VtNaU/" rel="nofollow">http://jsfiddle.net/VtNaU/</a></p>
  
  <p>'functionCallOnOpen' seems to work fine but 'functionCallOnClose' (the one I actually want to use) doesn't seem to work. I've also tried .closeDOMWindow click() but that only is called if the close button is clicked - not if the outside area is clicked (which also closes the window).
  Here's the plugin's source code:
  <a href="http://swip.codylindley.com/jquery.DOMWindow.js" rel="nofollow">http://swip.codylindley.com/jquery.DOMWindow.js</a></p>
  
  <pre><code>&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"&gt;&lt;/script&gt; 
  &lt;script src="http://swip.codylindley.com/jquery.DOMWindow.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  $(document).ready(function() {
  $('#test1').click(function(event) {
      $.openDOMWindow({ 
          functionCallOnOpen: function () { 
              alert("opening");
          },      
          functionCallOnClose: function () { 
              alert("closing");
          },
          height:100, 
          width:200,
          windowSourceID:'#theWindow'
      }); 
  });
  });
  &lt;/script&gt;
  &lt;button id="test1"&gt;Open Window&lt;/button&gt;
  
  &lt;div style="display:none;" id="theWindow"&gt; 
  &lt;h1&gt;Test&lt;/h1&gt;
  &lt;button class="closeDOMWindow"&gt;Close&lt;/button&gt;
  &lt;/div&gt;
  </code></pre>