Of the three deleted states, `isDirty` only returns false for the `root.deleted.saved` state. However, you may be right and checking `isDirty` assumes too much about the current state hierarchy. I should probably change this to do a more explicit check against the `root.deleted.saved` state.