Need Help With Dialogue System

We are making a 2D game that has lots of npcs, most of them will not be interactable but they will speak with each other, the non interactable npcs dialogues will be just a buble of text upon their head and these texts will change every time the player leaves and enters the room. The interactable npc dialogues will be more like the hades style, the UI will appear on screen there will be a text in the middle with a background image and 2 characters speaking flipbooks in sides. There is lots of plugins and tutorials but non of them really helps me. I understand the logic of summoning widget to the screen and making the widget how i want bu i failed to do it a optimal system that i can integrate the system to the other npcs as well. I am new to the ue5 and game programming can someone show me the way to how to make this dialogue system. Any help is appreciated <3.