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. 
Missing braces