Remove deprecated widgets from NewLabelDialog.