title: Close Magnific Popup Iframe when Clicking on Link
body: <p>So right now I have a Magnific Popup iframe open to a form (using Machforms).</p>
  
  <pre><code>&lt;div align="center"&gt;
    &lt;a class="popup-link" href="...machform/view.php?id=3717"&gt;
       &lt;img src="images/image.png"&gt;
    &lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>After submitting the form, it redirects to another iframe popup and has a link for a pdf download which opens in a new tab.</p>
  
  <pre><code>Thank you. Your submission has been successful! &lt;br/&gt;
  &lt;a href=".../downloads/TEST%20DOWNLOAD%20PAGE.pdf" target="_blank"&gt;Download file here.
  &lt;/a&gt;
  </code></pre>
  
  <p>Upon clicking, this 'download file here.' link, I would like it to automatically close the popup.</p>
  
  <p>How would I go about doing this? I have tried closeOnContentClick and overriding the close, but I can't seem to get it to work for that specific link.</p>
  
  <p>Thanks in advance!</p>