You are not opening a link to the pdf viewer component, but a direct link to the pdf. Then it is completely down to the browser/device on how that gets opened or displayed.
This is no longer a pre-sales question. If you need support specifically on Modals, please purchase a subscription.