How to detect when Roblox Dialog is active or in use (for playing animations)?

Hi everyone,

I’m using the default Roblox Dialog system (the one you insert into an NPC with Dialog and DialogChoice). What I want to do is play an animation when the player is interacting with the dialog, kind of like how Tool.Activated works.