also save the position on cancel