Hide cohort popover tab changes or modal is closed

Signed-off-by: Don Naegely <naegelyd@gmail.com>