Split out SelectableList and rewrote search sidebar to swap between what's been selected and what's being searched.