Refactor|MenuWidget|Client: Handling deletion of sub-widgets

When a widget is being deleted, only the de::Widget instance
remains; a dynamic cast to a subclass will fail.