@Override
	public void actionPerformed(ActionEvent event) {
		
		if ((event.getSource().equals(btnOk)) || (event.getSource().equals(btnCancel))) {
	    	modalResult = (event.getActionCommand().equals("ok"));
	    	MainWindow.setupData.setEventStartDate(eventStart.getTime());
	    	MainWindow.setupData.setEventEndDate(eventEnd.getTime());
	    	setVisible(false);
		}
	}