working on popup page