edit form in modal, still needs to update scope