add style field to alert messages