on transaction edit, remember where you have come from