add enter handler for id edit