Adds a dock-element to the collection.
the dock-element to add
an existing item where to put this new one at
whether adding the item was successful