initial addition of alert-panels and conversion into a mixin. Next up, clean up the styles.