settings: Fix critical warning when closing embedded dialog
The plug is already destroyed since we leave on "delete-event", on the other hand the original dialog should be destroyed once its contents is reparented.
The plug is already destroyed since we leave on "delete-event", on the other hand the original dialog should be destroyed once its contents is reparented.