'System.Windows.Application' can not be executed more than once

Hi.

I’d like to make a progress bar for “Grasshopper”.
However, if you close the window with “x Button” and try to display it again, an error will occur.
Is there a way to avoid this?

Thanks.

ProgressBar.gh (4.4 KB)