I'm trying to add some additional functionality into an application of mine. In my current application, a user has the ability to draw a point, line, or freehand polygon, and the resulting graphic is stored in a GraphicLayer. If they mess up their sketch, they have to start over. I'm now trying to enhance this so that they can simply modify their original sketch. I'm modeling that enhancement after this sample where a user double-clicks on the graphic and then the vertices appear and are moveable.
The good news is that I have the basic coding down but I have a slight issue. The GraphicsLayer has an InfoWindow template defined and whenever you double click a graphic to edit or save your edits, the infoWindow pops up. I'm having trouble figuring out where to stop this behavior. I've managed to package up the essential aspects of what I described into a JSFiddle here.