Fix for bug introduced by Don's 1.45 on_validation_error patch: Now we would enter the on/after_submit-new/edit_data blocks, even if the form was refreshing.
Added an "-on_validation_error" block that can be used to set the page title etc after a validation error (request blocks aren't executed in this case, and using ad_form_new_p explicitly has its own problems).