Save chat even if no message was sent

Feature request for product/service

Chat

Describe the request

I just spent 30 minutes crafting a prompt in a new chat. I accidentally clicked “New Chat” again while still in that chat, and everything I wrote disappeared. This really needs to be fixed—either by saving chats that contain user input even if no messages were sent, or by allowing a Ctrl+Z undo after creating a new chat.