title: FancyBox 2.0 afterClose event
body: <p>I have script fancybox like this</p>
  
  <pre><code>$.fancybox.open({
                  href : '&lt;?= site_url('sell_split/popup_qty/') ?&gt;'+url_param,
                  type : 'ajax',
                  afterShow: popup_focus_qty,
                  afterClose: console.log('test')
              });
  </code></pre>
  
  <p>As you can see, there is <code>afterClose</code> event. But it seems when i try this script the <code>afterClose</code> event is happened first and then <code>GET</code> process.</p>
  
  <p><img src="https://i.stack.imgur.com/6h2nH.png" alt="enter image description here"></p>
  
  <p>This is not what i want.
  What i want to do is, the event <code>afterClose</code> is happening if the visitor closed FancyBox Window.</p>
  
  <p>Is this an error from FancyBox plugin or the my code is wrong?</p>