ajax page now handles errors on edit, added feature tests for edit errors as well