[michael] Replace clickAlert with acceptAlert, and add cancelAlert and textAlert