moved idDirty to base session