Draw: Finish Polygon on last point like LineString

This PR add the possibility to finish a polygon clicking on the last point, like LineString