Implemented dynamic widget context menu.