adds close buttons on panels to reset selection