form data is being cleared when I try to edit submissions