title: Magnific popup close when i click on ajax content
body: <p>Please help, when I click the link and a popup will show up.  When I then click on the content page block, the popup will close suddenly. </p>
  
  <p>I already tired to add <code>modal: true</code>, and this works, but I cannot close the popup so I need another solution. please thanks in advance. </p>
  
  <pre><code>&lt;a class="simple-ajax-popup-align-top" href="htmlcontent.html"&gt;Popup&lt;/a&gt; 
  
  
  $(document).ready(function() {
      $('.simple-ajax-popup-align-top').magnificPopup({
          type: 'ajax',
          alignTop: false,
          overflowY: 'scroll',
          preloader: true,
          midClick: true,
          closeOnContentClick: false,
          enableEscapeKey: true,
          showCloseBtn: false,
          mainClass: 'mfp-fade',
          callbacks: {
            close: function() {
              // nothing
            }
          }
      });
  });
  </code></pre>