Is this the only place where we need to increment this? I think there are other places where `this.edit_mode()` is called, but maybe they don't have this problem?