Navigate to a new path.
The path to navigate to.
Whether to hide the current path.
Whether to replace the current path.