fixed: in j25 js error when editing element resulted in elements not being savable