ChatInput can now be closed via escape key (without sending a text message)