made document properties dynamic
renamed isPending to hasUnsavedChanges for clarity
Merge pull request #4 from coderly/make-document-properties-dynamic

made document properties dynamic