Fixed a crash on an invalid link in resource import
Pasting text that wasn't a valid URL into the single-link import tab on the Resources page could crash the page instead of explaining what was wrong. It now shows a clear, dismissable message so you can fix the link and try again.