Cancel and back buttons on edit forms now take you back properly