private void openCoreLocationWindow() {
		JFileChooser coreFolderSelect = new JFileChooser();
		coreFolderSelect.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
		coreFolderSelect.setDialogTitle("Select NGECore2 folder");
		int success = coreFolderSelect.showOpenDialog(contentPanel);
		
		if (success == JFileChooser.APPROVE_OPTION) {
			File selectedDirectory = coreFolderSelect.getSelectedFile();
			String corePath = selectedDirectory.getAbsolutePath();
			if (!selectedDirectory.getName().equals("NGECore2")) {
				File[] childrenFolders = selectedDirectory.listFiles();
				String coreFolder = "";
				for (File childrenFolder : childrenFolders) {
					if (childrenFolder.getName().equals("NGECore2")) {
						coreFolder = childrenFolder.getAbsolutePath();
						break;
					}
				}
				if (coreFolder.equals("")) {
					Helpers.showMessageBox(coreFolderSelect, "Could not find NGECore2 in the directory " + selectedDirectory.getAbsolutePath());
					openCoreLocationWindow();
					return;
				} else { corePath = coreFolder; }
			}
			tbCore2Location.setText(corePath);
			
			if (!dirty)
				dirty = true;
		}
	}