I've noticed that when creating a popup directly from code, you don't need to set PlacementTarget. Somehow the code internally solve this and use the entire window as placement.
I'm wondering if I can instantiate several new dialogs on demand or do I have to reuse the same instance everytime? Example: displaying alerts everytime I need.
My concerns are about the lifecycle, whether the garbage collector destroy them after closing or the instances keep living forever inside the page or somewhere.
I'm wondering if I can instantiate several new dialogs on demand or do I have to reuse the same instance everytime? Example: displaying alerts everytime I need.
My concerns are about the lifecycle, whether the garbage collector destroy them after closing or the instances keep living forever inside the page or somewhere.