I'm currently using this code in one of my FB Apps:
FB.ui({
method: 'permissions.request',
perms: 'user_website,email',
display: 'popup'
},function(response) {
if (response.status === 'connected') {
if (response && response.perms) {
FB.api('/me', function(response) {
});
} else if (!response.perms) {
}
}
});
Which ask user to login and authorize the application with a dialog box. The dialog cancel and allow buttons work fine in all browser but in IE. When I click on cancel or allow buttons the dialog box does not disappear (i.e dialog box stuck out).