Determine if there are any changes in a document, before attempting to save.