removes alert component