Added more help and improved the popup page refresh method