Dota 2 mods add dialogues and huds?

Hello. I was wonder how is possible to add dialogues and huds to your mod in dota2. I mean if you go close to an npc open a hud with some options for the user. Also some dialogues...

if anyone has an idea.