Fixing the page path for modals