Clears text input box automatically after submission