edit popup.php