I have this error if i click on the modify button (popover). My code is just copy/paste from the example. I didn't changed anything.