client: Destroy panel configuration window

Destroy the window after it's hidden.