Clears and therefore removes all dock-elements from the collection.
whether removing the elements was successful