Fix "Install from URL" issue

Fixes #9196. This is a minor behaviour change as well, as clicking in the body won't unfocus the search bar. But I don't think that's a bad thing.