Let the dialog swallow key events to prevent beeps