Create data context for beforeLeavePrevious hooks
- this is the new route's options
- 1st arg is the newRoute object
- 2nd arg is the current route's object