This still doesn't really work well since we can't focus the textbox.
This will need to wait for https://github.com/vizia/vizia/issues/85 as right now it's not yet possible to get this to behave correctly (other than perhaps sending manual WindowEvents on the next frame).