Use a separate latch for osk dialog.