private boolean askForSave() {
		if (changed) {
			int answer = JOptionPane.showConfirmDialog(frmDictionaryEditor, Localization.getInstance().get("messageSaveBeforeQuit"), Localization.getInstance().get("messageSaveBeforeQuitTitle"), JOptionPane.YES_NO_CANCEL_OPTION);
			
			switch (answer) {
			case JOptionPane.YES_OPTION:
				boolean saved = save();
				return saved;
			case JOptionPane.NO_OPTION:
				return true;
			case JOptionPane.CANCEL_OPTION:
				return false;
			}
		}
		return true;
	}