switching from old hasPastState to new hasBeenModified