don't open sampleviewer if samples unavailable