change popup to page