private void unregister(){
  if (close != null) {
    close.removeActionListener(listener);
  }
}

private void unregister ( ) { if ( close != null ) { close . removeActionListener ( listener ) ; } }
removes the actionlistener from the close - button of the bubble
