Add search directive to popup range and corral