title: Fancybox afterClose event not working
body: <p>I'm having a problem using the fancybox API after Close.</p>
  
  <p>I open the function when people click on this:</p>
  
  <pre><code>&lt;a class="fancybox fancybox.iframe btn" href="myurl.php"&gt;&lt;/a&gt;
  </code></pre>
  
  <p>The javascript behind this is:</p>
  
  <pre><code>$('.fancybox.iframe')
      .fancybox({
      arrows: false,
      padding: 0,
      overlay: {
          locked: false
      },
      beforeClose: function () {
          location.reload();
      }
  });
  </code></pre>
  
  <p>And it never reload the page when I close it. Can somebody help me? Thank you !</p>