Keydown event listener
The constructor
A reference to the dialog
Event listener method
The event to handle