reset the input box after sending the message