Calling next inside a navigate event.