In my application, I have added facebook share.
var url = 'https://www.facebook.com/dialog/feed?app_id='+data.clientId+'&link='+l+'&redirect_uri='+r+'&description='+description+'&display=popup';
window.open(url, 'fbshare', 'height=600,width=600,modal=yes,alwaysRaised=yes');
If I click cancel button, the window is supposed to be closed. Instead its redirecting to redirect_uri given in the query params. I fixed this problem by closing the window manually through my application.
But the problem is after closing the facebook share window, its reloading the parent window.
Anyone knows how to stop the parent window from reloading?