Modify the save button if there are unsaved changes and also warn the user if navigating away from chris and the notes are not saved.