If an alert pops up I want a graphic to appear and (another instance)
after a calculation pops up I want a graphic to appear.

In other words if the user does something wrong, the alert will pop up and a graphic in the top corner may say, Duh!!!

After the calculation pops up a graphic says, Way to go! Or Congratulations!