title: Facebook share dialog not closing after feed post
body: <p>I have a feed post JS as follows. </p>
  
  <pre><code>var feedObj = {
      method: 'feed',
      link: link,
      picture: imagelink,
      name: name,
      caption: caption,
      description: description,
      redirect_uri: "http://"+(window.location.host)+"/",
      next:null,
      app_id: appid,
      actions: [
          { name: text, link: link }
      ]
  };
  
  function callback(response) {
      if(response){
      }
  }
  facebook.ui(feedObj, callback);
  </code></pre>
  
  <p>How do I make sure the feed dialog that clicked to post closes automatically?<br>
  I have noticed that the callback is not fired always and this attempt below does not work always</p>
  
  <pre><code>function callback(response) {
      if(response){
          facebook.Dialog.remove(facebook.Dialog._active);
      }
  }
  </code></pre>