bind enter key with commit button