private void showSaveDialog() {
		//TODO: Prevent saving (grey out this option) when the game is over.
		if (matchFileChooser.showSaveDialog(this) == JFileChooser.APPROVE_OPTION) {
			try {
				String filePath = matchFileChooser.getSelectedFile().getPath();
				if (!filePath.endsWith("." + MatchSaveData.SAVE_FILE_EXTENSION)) {
					filePath = filePath.concat("." + MatchSaveData.SAVE_FILE_EXTENSION); //Let users specify names without ".tcs", but add it anyway.
				}
				if (new File(filePath).exists()) { //Prompt for overwriting files, and be sure to check the file with ".tcs" at the end.
					int chosenOption = JOptionPane.showConfirmDialog(this, "Really overwite the existing file?", "Overwrite file?",
					        JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);
					if (chosenOption == JOptionPane.YES_OPTION) {
						new MatchSaveData(currentMatch).save(filePath);
					} //Don't do anything if the user didn't hit "Yes" at the prompt.
				} else {
					new MatchSaveData(currentMatch).save(filePath); //Creating new files can be done without prompting.
				}
			} catch (IOException exception) {
				exception.printStackTrace();
				JOptionPane.showMessageDialog(this, "Error: Failed to save the game.");
			}
		}
	}