displaying flash notice and alerts