title: How to open anchor in a modal window, not a new tab
body: <p><a href="https://simplesharebuttons.com/html-share-buttons/" rel="nofollow noreferrer">This site</a> demos Social Sharing code such as 'share to Facebook'.  Here, clicking  the links on the left opens the sharing in a modal window.  Their code:</p>
  
  <pre><code>&lt;!-- Facebook --&gt;
  &lt;a href="http://www.facebook.com/sharer.php?u=https://simplesharebuttons.com" target="_blank"&gt;
      &lt;img src="https://simplesharebuttons.com/images/somacro/facebook.png" alt="Facebook" /&gt;
  &lt;/a&gt; 
  </code></pre>
  
  <p>I want a similar effect and I have the following <code>anchor</code> but this opens in a <strong>new tab</strong>.  I want it to open in a <strong>modal window</strong>:</p>
  
  <pre><code>&lt;a href="http://www.facebook.com/sharer.php?u=http://www.idybrand.com/" title="Share on Facebook" target="_blank" &gt;
      &lt;img alt="Share on Facebook" width="40" height="40" src="img/social_media/facebook.svg"&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>How can I achieve this please?  Possibly using Bootstrap?</p>