bug 882652 fix disabling of socialapi in popups, r=felipe