add a selectable directive