[FIX] Existing modal can still be loading

This removes `Uncaught TypeError: Cannot read property 'innerText' of null` exceptions while opening a profile modal.
The exception was happening while trying to replace the .siteurl's href with the direct link.