Hi Marijan,
Thank you for your reply.
At first glance it fixed the problem of not being able to see the dialog on the second try.
I'm having a serious look at it tomorrow.
I understand what going on except for$.gc ();
Could you tell me what does it stand for?
Regards,
Patrick