shell: destroy panel config view when its panel is pending deletion
This fixes a crash in focusVisibilityCheck
How to reproduce:
- Delete a panel
- Close the notification while the panel config dialog is visible
This fixes a crash in focusVisibilityCheck
How to reproduce: