modified show alert