Disconnect signals when destroying panels