Current Sample logic generates collapsibles and buttons