No reason to store `modified`. It should be always `False` when restored and `True` when modified.