open sidebar upon search and add listener to enter key in input field