On my app I need to open a form (dialog, modal), and the user is supposed to confirm its outcome.
So, on the close event, e.g. by having the user clicking the close button, I test the case that the user is sure to quit the form.
The problem is that, if the user answers No, I want to keep the form open and not having it open in spite of being in the stage of processing the Clise event.
is there a direct manner to do it, or should I discard the close button and have a new special Close button in the form?