** Sets the proper parent to a dialog. This could cause apparent "freezes" when chang...