boolean showDialog(final ImagePlus imp, final String[] list) {
		final int fileCount = list.length;

		String name = imp.getTitle();
		if (name.length() > 4 &&
			(name.substring(name.length() - 4, name.length()))
				.equalsIgnoreCase(".tif"))
		{
			name = name.substring(0, name.length() - 4);
		}
		int i = name.length() - 1;
		while (i > 1 && name.charAt(i) >= '0' && name.charAt(i) <= '9') {
			name = name.substring(0, i);
			i--;
		}

		final HypervolumeOpenerDialog gd =
			new HypervolumeOpenerDialog("Sequence Options", imp, list);
		gd.addNumericField("Number of Images: ", fileCount, 0);
		gd.addNumericField("Starting Image: ", 1, 0);
		gd.addNumericField("Increment: ", 1, 0);
		gd.addStringField("File Name Contains: ", name);
		gd.addNumericField("Scale Images", scale, 0, 4, "%");
		gd.addCheckbox("Convert to 8-bit Grayscale", grayscale);
		gd.addMessage("10000 x 10000 x 1000 (100.3MB)");
		gd.showDialog();
		if (gd.wasCanceled()) return false;
		n = (int) gd.getNextNumber();
		start = (int) gd.getNextNumber();
		increment = (int) gd.getNextNumber();
		if (increment < 1) increment = 1;
		scale = gd.getNextNumber();
		if (scale < 5.0) scale = 5.0;
		if (scale > 100.0) scale = 100.0;
		filter = gd.getNextString();
		grayscale = gd.getNextBoolean();

		return true;
	}