added 'enter on keypress' directive