This isn't exactly a user-friendly extension, but it's a piece of generic code that I found useful.

Problem: A user creates a new record client-side, which generates a temporary ID. Later, she...