Save panel visibility state