[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.

(I have no idea what github's editor is trying to do on line 849, sorry)