alert page class before timeout