AN example with a button and a toggling panel