added finish button to complete polyline/shap for a better ux on touch and desktop