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: