Callback to track the change of the state of dragging.
Called when user started or stopped dragging the polygon.