closes an open popup with escape key
no map._popup check needed
Merge pull request #3000 from snkashis/popup_esc

closes an open popup with escape key