Convert pop-ups to browser windows