I have launched a dialog via my application. In this dialog, I called up another dialog. When I close the second dialog via OK/Cancel, it returns to the first dialog. Then I click Ok/Cancel. The first dialog will close as well.
What has been an issue is that after all these, I can't close NX unless I close the current part document first.