make sure entities are decoded in alert boxes and add title to alert box