handle bg condition in popUphint