How to restrict ESC button action on a modal dialog window.

I need to restrict users from closing or cancelling a modal dialog pop up. however when user clicks on esc button in keyboard the modal window closes. Can we restrict esc action on modal window ?

    sai1992 changed the title to How to restrict ESC button action on a modal dialog window.
      Write a Reply...

      -An Initiative Of OneStopPega- Love our work? Support Us🖤