set conditional hide for contact menu