make chat submit work with textarea