Added code to specially handle Enter press from a numeric keypad.