public void addButtons() {
		if (save == null) {
			save = new JButton("Save");
			save.addActionListener(this);
		}
		if (cancel == null) {
			cancel = new JButton("Cancel");
			cancel.addActionListener(this);
		}
		if (!rebuilding) {
			buttonPanel = new JPanel();
		} else {
			frame.remove(buttonPanel);
		}
		if (!rebuilding) {
			buttonPanel.add(save);
			buttonPanel.add(cancel);
		}
		frame.add(buttonPanel, RelativeLayout.BOTTOM_CENTER);
	}