public void removeComponent(final String componentId) {
        // Create and assign a new map here to prevent concurrent modification exceptions.
        final Map<String, ResultComponent> componentMap = new HashMap<>(this.resultComponents);
        componentMap.remove(componentId);
        this.resultComponents = componentMap;
    }
Initialises the model for passed expression and current result settings and returns
the corresponding {@link DashboardSearchRequest} object
stroom-core-client/src/main/java/stroom/dashboard/client/main/SearchModel.java