Initial work for making the window show that a document has edits.
Added support for the window to show if the active view has an unsaved document.