[Bug 574] Changed - Creative use of CreateDialog and DestroyWindow cause busy loop