Hi,
Thanks for your patience,
On our validation we could be able to see that, in the “PageLoaded”
method you are loading a default document and which is invoked after the “OnNavigatedTo”
method. So, whenever you try to open a particular document using right click, it
doesn’t load the current document instead it opens the default document in the
program. To fix this issue you need to restrict the default document loading.
Please find the snips below which help you to fix this issue.
1. Get the Storage file,

2.Restrict
the default loading of document if the storage file is null equal to null,

Regards,
Vikram