Fixing the page path on modals