Support widgets in popup menus
Close the menu when clicking on a widget
Merge pull request #692 from mtwebster/widget-menu

Support widgets in popup menus