[[ Bug 12702 ]] make sure image editing finishes when switching cards