title: facebook share dialog opening in new tab, not in a popup
body: <p>I am trying to integrate a Facebook "Share" dialog with the SDK and have the following at the start of the body tag:</p>
  
  <pre><code>&lt;script&gt;
    window.fbAsyncInit = function() {
      FB.init({
        appId      : 'MY_APP_ID',
        xfbml      : true,
        version    : 'v2.0'
      });
    };
  
    (function(d, s, id){
       var js, fjs = d.getElementsByTagName(s)[0];
       if (d.getElementById(id)) {return;}
       js = d.createElement(s); js.id = id;
       js.src = "//connect.facebook.net/en_US/sdk.js";
       fjs.parentNode.insertBefore(js, fjs);
     }(document, 'script', 'facebook-jssdk'));
  &lt;/script&gt;
  </code></pre>
  
  <p>Then, as a test link I have:</p>
  
  <pre><code>&lt;a href="https://www.facebook.com/dialog/share?app_id=145634995501895&amp;display=popup&amp;href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2F&amp;redirect_uri=https://developers.facebook.com/tools/explorer
  "&gt;Test Facebook Link&lt;/a&gt;
  </code></pre>
  
  <p>The problem is that this opens in a new tab, when it should really be opening in a "dialog" window. What am I doing wrong?</p>