Sergey menus

@ussuri 

- Added modal dialog support.  I created new widget for modal (may should be an attribute).
- Fixed bug with selectors and overlays stealing events.  Add/Remove listener needs to canonicalize the closure.  This fixes when a menu or dialog appears the next click in the file viewer will cause the toolbar to disappear, spliter to not track and ace editor selection can be messed up.