add event handler for enter key outside input box --> input focus