remove table and graph tabs only if there are no raster layers identified (#10376)