Link URI re: issue 486

The proposed changes address the silent failing of adding a link to an unrecognized URI. They allow the user to correct any potential mistakes made to the initial address through a prompt dialogue. 
I think this is still a necessary check. I would maybe even make it `!input.value.trim()` to avoid any possible confusion with whitespaces.