Make select item active on popup close to have it highlighted the next time we open the popup
Reset activeIndex at the same time we reset search input (instead of when we close popup)
Merge pull request #82 from bdelaforest/fix-active-item

Reset activeIndex on popup close in case we highlighted another choice without selecting it