allow reload on the new/edit page with connect middleware