Implemented basic click-to-select.