track start and end of key press. disallow clicks on accept button while key press is in progress