Add escape support for ConfirmDialog.