@Override
	public void approveSelection(){
	    File f = getSelectedFile();
	    if(f.exists() && getDialogType() == SAVE_DIALOG){
	        int result = JOptionPane.showConfirmDialog(this, Localization.getInstance().get("messageConfirmOverwrite"), Localization.getInstance().get("messageConfirmOverwriteTitle"), JOptionPane.YES_NO_CANCEL_OPTION);
			switch(result){
			case JOptionPane.YES_OPTION:
				super.approveSelection();
				return;
			case JOptionPane.NO_OPTION:
				return;
			case JOptionPane.CLOSED_OPTION:
				return;
			case JOptionPane.CANCEL_OPTION:
				cancelSelection();
				return;
			}
	    }
	    super.approveSelection();
	}