Focus share link when pop-up opens

Fixes #1673 by waiting for the dropdown to open and then selecting and focusing input.

- [x] Needs tests.