Fixed edit pop up in edit.php frontend/php.