This reverts commit 84a29ef86380fab40236bdf934b49bc3cf090853.
WidgetExplorer gets destroyed immediately the containment is closed, so
the dialog is immediately deleted. The bug the patch was supposed to fix
is totally unrelated to this, as according to the report a restart of
plasmashell does not help.