Better way to load related documents. This should be done not at the CanActivate screen level, but in the loadDocument function.
Correctly append to recent documents list when navigating to other documents