function overlayKeyHandler (e){
    if(e.key === 'Enter' || e.key === 'Escape'){
        document.getElementById(overlayHandlerContent).getElementsByClassName('overlayKeybindEnter')[0].click()
    }
}
Overlay keydown handler for a non-dismissable overlay.

@param {KeyboardEvent} e The keydown event.