IDE-1714 close new profile dialog wizard too fast cause dispose exception

...n