Added alert view confirmation functionality