SAM-2350: improvements to add/edit part interface; patch from Paul L.

git-svn-id: https://source.sakaiproject.org/svn/sam/trunk@315297 66ffb92e-73f9-0310-93c1-f5514f145a0a