onHide and return of false boolean

I am using onHide event of a formInDialog to check if one uses a button to close the dialog or the closebox of the window itself by returning a false or true…

With all dialogs this goes well. Except for one. Here the onHide event is called only the first time. The second time it is not fired at all…

I am playing with this for an more than an hour now but can’t find it!

Can you guys give me a hint on where to look?

what do you mean with all dialogs this goes wel except with one??
you mean with all forms this goes wel except one form??

Do you get an exception in the .log.txt when you close it?
i can’t think about anything else if the onhide works for all other forms. I have to see that solution..

The log doesn’t show me anything. The dialog just closes (after the second click)…