Work around Chrome's popup autofocus behavior.