support enter event to submit