resolved fdo#71598 postpone SetDirty during Insert/Delete

... until after all listeners are re-established.

Change-Id: I9f6036d4bcc9206191959a88ed5439b9860ca268