How to prevent breaking the agent conversation in a NPC?

The guy’s video in my post (not me!) has done some interesting stuff. You might want to check it out.