Make sure the cursor stays put when saving/updating. Fixes #5.