Survey editing WIP: using ajax to persist entity to db