Select input's text when expanded. Closes #1
Collapse control when result is selected. Closes #2