public SongDetailsDialog(Frame owner, DialogClient aClient, String title, boolean modal, FakeBookSong aSong){
		super(owner,title,modal);

		//Store the client and model variables
		theDialogClient = aClient;
		theSong = aSong;

		// Put all the components onto the window and given them initial values
		buildDialogWindow(theSong);

		// Add listeners for the Ok and Cancel buttons as well as window closing
		updateButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent event){
				updateButtonClicked();
			}});
		
		deleteButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent event){
				deleteButtonClicked();
			}});


		cancelButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent event){
				cancelButtonClicked();
			}});

		addWindowListener(new WindowAdapter() {
			public void windowClosing(WindowEvent event) {
				cancelButtonClicked();
			}});

		setSize(400, 250);
		
	}