implement tool window for widget model