When user clicks on X, I want to check whether there are any unsaved changes in the page.
I have isNotSaved Property which tells me that.
Now, if there are any unsaved changes, I want to show Alert window(which is in place) to confirm by user to close pane or not.
If user says Yes, I want to close, If not I dont want to close.
How can I implement this in Pure MVVM ?