Encode target name when resolving name
Target name is encoded to support UTF-8 characters in name (i.e. PSR B0943+10)
ADDITIONAL BUGFIX:
There was a timing issue where you would click on resolve while the editor textfield was still open. The callback for the editor would only finish after the name resolve button click. The editor functionality in the PrimeReact doesn't allow for much tinkering, so a small timeout was added to fix the issue (the loader is shown timely, so it looks nice).