setVisible(false); dispose();
done();
	public void stopProgress(int level, String message) {		if (checkLevel(level)) {			jProgress[level].setMaximum(jProgress[level].getMinimum());			jLabel[level].setText(message);			try {				jProgress[level].setIndeterminate(false);			} catch (Throwable t) {			}			if (level == LEVEL_UPLOAD_PROGRESS) {				// we're done...				if (jErrors != null) {					// there were errors, don't dismiss the dialog just yet					jCancel.setText(GRI18n.getString("Common", "OK"));					jCancel.setActionCommand("OK");				} else {					setVisible(false);					dispose();				}			}		}	}