Polygon tool creating a sticky note pop-up

This doesn’t happen all the time, but every so often while using the polygon tool, I’ll double-click to close the polygon, and then a sticky-note pop-up appears. As far as I can tell, this is happening inside the PDFViewCtrl.OnMouseDoubleClick method. It looks like the tool is switching to the pan tool, but this tool is still getting the double-click event, and that’s creating the sticky-note. I’m using the 11/19 stable nightly build.

Is there another way to end/close the polygon without double-clicking?
Is there a way to catch/find and close the popup?