Fixe problem with save changes in ref set edit mode not turning edit mode off afterwards.