don't navigate back to page when removing the modal.
don't need self here.
Merge branch 'feature/98-clicking-language-switcher-has-no-effect' into develop
render add link dialog when rendering thread rather than when showing dialog box, otherwise leave will not be called on it when the view is swapped (when user navigates to another page).