title: App Request Dialog, Popups in a new window
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/7246169/fb-ui-dialogs-are-displaying-in-popups-instead-of-an-iframe">Fb.UI Dialogs are displaying in Popups instead of an iframe</a>  </p>
  </blockquote>
  
  
  
  <p>I got this code for application request dialog:</p>
  
  <pre class="lang-js prettyprint-override"><code>FB.ui({ 
      method: "apprequests", 
      message: "You have a gift!  Click accept to see what it is!",
      data: gift, //This will be passed back to you when a user accepts the request
      title: "Send "+giftname+" to 50 friends!"
    },
    function(response) {
      if (response &amp;&amp; response.request_ids) {
        alert('Your gift has been sent!');
      } else {
        alert('You must select some friends to send gifts to!');
      }
    });
  </code></pre>
  
  <p>and it seems like the dialog is opening in a new window. I don't want this, I would like to popup the request dialog within a Facebook Styled POPUP, same happens with the feed dialog. </p>