fixes #166 - disallow editing of finalized elements