Fix #682
Fix #682

The regression was caused by the code handling that being moved under the conditional about custom edit functions. I moved it earlier, since I can't see any cases where it would hurt. However, at some point we need to decouple "this element is editable by itself" with "this element needs Mavo to generate editing UI for it, but then it needs to stay in edit mode forever"

mavoweb/mavo