[diff] IDEA-119780 close dialogs with CANCEL exit code rather OK

Seems to be a more safe choice.