Add a listener to the DOM for the specified key.
The key (event.key) to listen for.
The callback to trigger when the key is detected.
A cleanup function that will unbind the listener. This should be called to prevent memory leaks.
Add a listener to the DOM for the specified key.