Add Cancel button to the confirm dialog

Once upon a time... the confirm method for closing modified
documents was changed. Closing the window one could only
close with or without saving. Now it's possible to cancel
the operation and recheck the document.