Pressing "Escape" closes dialog. How to block it?

Pressing "Escape" closes dialog. How to block it?


Hi,
I'm using a modal dialog, with no close button. This is for block the
user to close it.
But pressing the Escape button, the dialog closes anyway.
How do I precent Esape button of closes the dialog?