Use of Hidden and Hideable in Section Headings

I feel like I'm missing something here. If I make a section Hideable and click to hide it, then on the next page refresh it is open again. Is there some way to capture the state of the section so that it can retain the users preference using the hidden: attribute?

I can do all this using buttons and maintaining my own state, but it seems like these settings are intended to provide this functionality I'm just not seeing it without capturing the button click.