title: Escape handling in popup using javascript
body: <p>I have a page at which when clicked on a button a popup appears and in that popup I have given a link which shows another popup . The problem here is when I handled the escape button in first popup , it worked fine . But when I am handling the escape button in second popup , when it is pressed both the popups are getting closed . But the need is if I press the escape button in second popup , only the second popup must close .Do anyone have the solution for this . 
  Thanks in advance ...</p>