Add event for enter.