add enter key handler for message submission