the current input is saved when you edit another message. It's restored when you go back or when you send the message