remove code in the popup page