Ensure that the blank transaction is marked as the pending transaction
when it is modified. This fixes a bug where editing the blank transaction,
moving off of the transaction line to a split line, leaving the split line
unedited and then closing the register will incorrectly leave the
transaction open without asking.
The bug fixed by this commit is possibly responsible for some of the
crashes like bug #348469.