removes close button click handler

no close buttons used anymore
refactor handling of tabbed panel