fix $edit->link()->back() to use persistence if present, and to support routes