By forcing user to type predictable characters, key sequences or mouse clicks it's possible to conduct situation user event will be received by shortly appeared security dialog (for example "Save file" dialog can apper then user is about to press Y key).