Replying to "GeModalDialog::AskClose() is called twice on close"