@Override
              public void actionPerformed(final ActionEvent unused) {
                dialog.setVisible(false);
                dialog.dispose();
              }
Registers a keyboard action for the passed dialog such that it will close when the "ESC" key is
pressed.

@param dialog The Dialog which can now be closed by the "ESC" Key.
java/zylib/src/main/java/com/google/security/zynamics/zylib/gui/CDialogEscaper.java