Add selector only to given pages. Fix popover close