Upload errors show foundation alert-boxes instead of alerts