fixes html5 alert: if you have 1 tx pending and you reject or sign it, then does not appear the alert of the next one.
Merge pull request #378 from cmgustavo/bug/html5-alert

fixes html5 alert