documentEdited

A boolean property that specifies whether the window’s document has been edited.

The icon in title bar will become gray when set to true.