*Changed timing for clearing the chatbox on enter