Changing a Modal to a Page

Noobie question here, my Agency Theme has 6 modals in the Portfolio section, I would like to customise it so when I click on the Portfolio images it takes me to new pages, not the modals. The new page will be a gallery page which I can comfortably create, I just can’t figure out how to change the link #portfoliomodal1