Putting the "failed load" pop-up into one AppUtil function