Properly listen to page-mod workers' detach event
Also prevent from attaching to iframes