bring back the global dirty flag, remove _prefs.dirty in data.yml