title: Click anywhere closes MagnificPopup ajax box
body: <p>Whenever I'm trying to fill login form (which is a magnific pop up ajax box) it gets closed in the first instance of click.</p>
  
  <p><em>main.html</em></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code> $(document).ready(function() {
       $('.ajax-popup-link').magnificPopup({
         type: 'ajax',
         alignTop: false,
         overflowY: 'scroll'
       });
   });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;a class="simple-ajax-popup-align-top" href="result.php"&gt;try me&lt;/a&gt;&lt;br&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><em>result.php</em></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div&gt;
      &lt;form action="..." method="post"&gt;
          Email:
          &lt;label class="field_container"&gt;
              Password:
              &lt;input type='text' name='cust_username' id='username' maxlength="12" style="width: 250px; height: 30px" /&gt;&lt;/label&gt;
          &lt;label class="field_container"&gt;
              Password:
              &lt;input type='password' name='cust_password' id='password' maxlength="12" style="width: 250px; height: 30px" /&gt;&lt;/label&gt;
          &lt;input type='submit' name='Submit' value='Login' /&gt;
      &lt;/form&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>