Merge "Migrate IME switch dialog to WindowContext"