[fixes #47768559] Save draft before teardown, while the content still exists