Panel: panelclose event does not work

altered to use _on and _off

Fixes gh-7058