Added alert for task validation