disable not showing alert if it is on front