fix(typeahead): keep pop-up on clicking input

Also, keep reference to event listener to unbind when scope is
destroyed. (Memory leak)