Urls will be opened in iframe mode.
to make the page - after logging in - to load in the main window, then you would have to make the form post to the target _parent or _top.
We now have a login with a menu item single article with this code as menu button: [[modal width="300" height="320" ]]Inloggen[[/modal]]
And we have a module with this code: [[modal theme="dark" width="300" height="320" article="Inloggen"]]Inloggen[[/modal]]
Both still do the same, not closing the pop-up and loading the website in the modal.
Please have a look: