fixed the occasional issue with fields showing up visible, and added a test to make sure the enable modification button works
fixed the occasional issue with fields showing up visible, and added a test to make sure the enable modification button works

ucdavis/Purchasing,ucdavis/Purchasing,ucdavis/Purchasing