Hi Robert!
Thank you! I added in a button that clears the graphics and I would like for it to uncheck the checkboxes as well.
I also tried to tweak onClose so that when you close the widget, and click on a feature, the buffer is still there, and you get a pop-up describing the feature. I haven't been able to figure how to get the original map.on(.'click') to be silent.
in Widget.html:
<div><button data-dojo-type="dijit/form/Button" type="button" data-dojo-attach-event="click:_clearall" id="clearGraphics">Clear Graphics</button></div>
in Widget.js:
_clearall: function() {
console.log("button clicked");