prevent open duplicated chat and submiting form by press enter key