add 'modified' attribute to notes

For example, editing a note changes this value.