Added alert & confirm methods