Fox: ‘Modern Family’ star goes undercover as 12-year-old for ‘scary’ sting operation