Hello,
I'm new to Web AppBuilder custom widget programming and I try to modify the advanced identify widget by @RobertScheitlin__GISP as a learning project.
I got the DrawBox tool inside my widget to show up in the widget panel and I want to make the DrawBox point draw function active on panelOpen. But when I click on the point draw icon

it fails in DrawBox.js on this.drawToolBar.activate(tool); with drawToolBar being null.
I'm attaching my current state. What am I doing wrong?