updated the way of creating new widgets via P3WidgetContainer, added select dropdown