Bug 341655 - IM selection in text element pop-up

The annoying top-level menu is gone now. And there is even less
code needed to do it this way ;)