Currently the NavigationModal implementation uses goBack, this won't work for all scenarios, it needs to use the targetLocation.