Fix task edit transaction for clicking around.

Fixes the bug when browsing away from a task edit form and then navigating back to it.