Fix odd behavior of double-click in register part II
Improve commit b777b3b9cd28d556f52a2712186f41605b1e17b6 such that the
odd behavior is also fixed in case the warning dialog is closed without
editing the transaction (Cancel is pressed).
BUG: 397457