Added alerts into foundation framework