adding popup on transaction error