Manage the behavior during the navigation.