[front-end] add widgetManager and prompt service