Reset selection state on add or cancel