Bug 1045826 - Add missing null check in popup blocking (r=felipe)