don't flash notice and alert unless there is something to display