Removes a dock-element from the collection.
the dock-element to remove
whether removing the element was successful