Validation fixes

- close form only if commit succeeds
- don't print validation exceptions