feat: Enhance chat prompt editing with AJAX form handling