When a edit/create POST submit fails, use failed values when rerendering page

This should help prevent lost values

Fixes #404