Finalize the editor