Add ability to edit hops. Extract modal-edit route.