fixes #158 - adds Finalize method to edit dialog for published elements