support for menus und pies in dynamic snippet