private static int promptUser(String msg) {
		Object[] options = {GUITreeLoader.reg.getText("yes"), GUITreeLoader.reg.getText("no")};
		int result = JOptionPane.showOptionDialog(
			Outliner.outliner,
			msg,
			GUITreeLoader.reg.getText("confirm_save"),
			JOptionPane.YES_NO_OPTION,
			JOptionPane.QUESTION_MESSAGE,
			null,
			options,
			options[0]
		);
		
		if (result == JOptionPane.NO_OPTION) {
			return USER_ABORTED;
		} else {
			return SUCCESS;
		}
	}