I'm confused by these two lines, I thought this function was to hide a pane, not to show one.