Fix memory handling around SieveEditorPage.