Make sure admin pane closes all the way

Closes #246