libs/web: rework DynamicList widget