multi and single select, close popup