fix broken cancel link on edit page after validation failure