Fix m2m checkboxs and labels in edit dialog