What will your Web Page contain ? if it is for example an Entity Form coming from an Entity List or subgrid, you can just associate that in your Entity List (or subgrid) and it will naturally show as a modal
Can you explain a bit more your scenario and what will contain on each page?
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.