Focus the surface in the reference dialog after it opens

Otherwise the surface ends up in a weird half-focused state which
causes it to behave strangely.

Bug: 63909
Change-Id: I3ebc30fde0202116b383a5b497aca65b66732922
Merge "Focus the surface in the reference dialog after it opens"