Is it okay to have a modal window with a button that redirects to another page?

enter image description here

In my case, the information written in the modal window is not directly linked to the button. That is, the button is not some action that the user does after reading the information given in the modal. Rather, the button stands for an add on feature of the entity (modal window entity) and so it redirects the user to an entirely different page.