I have a WPF window for editing database information, which is represented using an Entity Framework object. When the user closes the window, I\'d like to notice in the Closing