You have unsaved data changes. Would you like to apply those changes now?
Yes/No/Cancel
When I click on No, everything is ok. Changes are discarded.
When I click Cancel, unexpected thing happens. All changes are immediately commited to database. In fact, Cancel is doing everything just as Yes button, while it should do exactly nothing but to close the message box window

I don't think this works properly.