Allow share control to accept custom url. Fixes #451