Add an example for DomainObjectCollection.whenObjectAdded event