added alert directives on top of bootstrap ui