Is there any Way to create popup in AEM React SPA.
Hello Everyone,
Is there any way to create a popup in AEM React SPA? Currently, I am handling all by CSS and Experience Fragment Component. But it's not coming good alone.
I have created a Model Component in AEM. Where I want to feed Experience Template HTML or JSON code to model it will help to handle the popup by trigger option. Now can anyone help me by giving details? How I can feed experience fragment template code to my model component?

I have added an Image for a better understanding of what I want to do.
Or is there any other best way to make a custom dynamic popup in AEM.
Thanks