First of all, I suggest you use the CommunityToolkit.Maui.Views.Popup
instead of the modal page. Such as:
<views:Popup xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:resources="clr-namespace:SkyObservers.Localization" xmlns:views="clr-namespace:CommunityToolkit.Maui.Views assembly=CommunityToolkit.Maui" x:Class="NameSpace.AGREEMENTPAGE" CanBeDismissedByTappingOutsideOfPopup="False" Shell.PresentationMode="Modal">
And then you will not meet the navigation problem you mentioned. For more information, you can refer to the official document about Popup in the maui.
In addition, you said:
I have Shell.PresentationMode="Modal" set on the Agreement page.
However, this means that when the agreement page navigates to page 2,page 2 now displays as a modal page also, which is not the desiredbehaviour.
Did you try to set the Shell.PresentationMode="Animated"
(default value) for the Page 2?