Add mode selector.