Close polygon in modify-feature example.
Merge pull request #1817 from marcjansen/fix-modify-example

Close polygon in modify-feature example.