I am in the process of developing a draw tool and ran into a problem.
Once I add text to my map, I am able to right-click the text and then click edit, which pops up option (change color/alignment of text). For some reason when I click on the map, it does not close this window.
Tested the JSFiddle in IE10, FireFox 30.0, and Chrome 35.0.1916.153. It appears to be working in each of these browsers.
Thanks for checking it.
Just to recap, you added some text, right-clicked the text and brought up alignment/color, then left-clicked the map and the alignment/color box disappeared?
When right-clicking the text, I'm presented with the options Edit, Move, Rotate/Scale, & Delete. When clicking on the map, this dialog box with these options disappears.