add flash alert twig extension