primitive native alert impl.