Directive managing alerts created