can generate dialog and its controls
add class MenuHelper