not sure i follow. it is setting the state of the panel.