Corrections in DecoratedDialogs and MenuFactory for easing menu creations