hi,

I have a strange problem for window's event of 'beforeclose':

2012-11-10 15-47-18.png

1. when i click the close button from "The A1 Window" which opened by the button named [Open The A Window] from "The mail Window", i can catch the event of 'beforeclose'。
2. when i click the close button from "The B Window" first ,and than i click the close button from "The A2 Window" , i can't catch the event of 'beforeclose' from "The A2 Window"。

"The A1 Window" and "The A2 Window" is opened with the same code:

how can i catch the event of 'beforeclose' from the "The A2 Window"?

please view this problem from the example attachment

beforeclose.7z.zip

thanks