I thought I was the only one with this habit hah!
IMHO this "close modal when clicking outside of it" is a UX pattern you need to be careful with in general, because it's easy to "miss" a click and accidentally close something, even without this habit. It's okay for some things that are truly temporary (i.e. delete confirmation dialogs and the like), but clearly not everything.
But hey, old.reddit.com still works, and is mostly okay.
> I don't click a cursed en.m.wikipedia link by accident
I got this extension to automatically redirect them: https://addons.mozilla.org/en-US/firefox/addon/redirector/ – also useful for some other things like redirecting Reddit to old.reddit.com, and PostgreSQL documentation links to /current/ rather than /9.4/ and such which still frequently show up in search results.