delay showing alert