alert component init