@Override
    public void actionPerformed(GUIComponent source) {
        if (source == yesButton) {
            selection = SELECTION_YES;
            this.deactivate();
            super.actionPerformed();
        }
        else if (source == noButton) {
            selection = SELECTION_NO;
            this.deactivate();
            super.actionPerformed();
        }
    }