Submit button is not working when editing a submission