addItem event for 'enter' with focus on input text

created an addItem event for triggering when the enter key is released
and focus is on the #addText, currently using call to pass this from
anonymous trigger function into addItem