FNC TaskDialog visibility over multiple application instances

The application I have developed is suppose to support multiple instances on one PC.
If the second application instance is running and you select the first one, the FNC TaskDialogs already executed from the first instance is visible again. What is the best way to not have them visible unless invoked again?

We have tested here with multiple instances of the same application and the TTMSFNCTaskDialog is showing on only the one that it has been invoked from. Not sure exactly which technique you are using for handling multiple instances. Can you provide a sample that demonstrates the issue?

Hi Pieter,

When I produce a simplistic example, all works as you have stated.
I will have to look further in my code for the reason.
You can close this issue on your side.

Kind regards,
Rainier