Close polygon in modify-feature example.

This allows to modify every edge of the triangle polygon in the modify-feature example, see also #1807.