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.