Fixed edit table so it lets you resubmit if you entered an invalid value