adobe/brackets — pull request #1276 by tvoliter (2012-07-18 18:51:47+00:00)
Title: fixes issues #1270 #1271 #1272, ESC key handling with popups

fixes issues #1270 #1271 #1272

- fixed ESC key not working to dismiss dialogs by fixing bug where popup was removed from list when it was persistant
- simplified addPopUp() API by removing different function call relating to popup persistance and instead having an "autoAddRemove" parameter
- prefixed data keys with "PopUpManager" since PopUpManager is decorating elements it doesn't own
- changed closing call for menus and context menus to call this.close() instead of closeAll()