The settings dialog code renders the panel regardless of visible status. It should only do it if visible.