There is the following situation:
an application may receive event at any time and has to show a dialog. If at the moment there is an open dialog (dialog 1) the new one (dialog 2) is shown over it. When closing the first dialog (dialog 1) with OK button (or apply or any other positive) all is OK, but when with Cancel there is CBase-71 panic.

What may be wrong here? Maybe something with CBA?

Thank you!