Hi Patrick,
could you please elaborate the issue? I've seen that when you run the above code on ESTK the first time everything's OK, the second time it appears an empty, small dialog - if you can't see it in ESTK, just add w.center() the line before w.show().
This is fixed if you Debug > Reset (on ESTK)
Yet in Photoshop I have not experienced this problem with your code since PS doesn't support persistent sessions, and multiple calls just work as expected.
Is there a why for the window.find() - do you need to call the same dialog? What's wrong with re-creating it the next run?
Regards
Davide Barranca
---
www.davidebarranca.com
www.cs-extensions.com