updated editSample and pointOfContactModal.js