removed old code for new page popup