Revert "Ensure properly encoded popup title", fix PHP instead