Quote:
I can't store the ID of the edit box that was selected before clicking on the icon.
Why can't you?

I might be of more help if you posted your current dialog code.