save button state changes

changes the save button color depending on document save state.
session data storage medium -> long