changed flash_closeable to only be used if close is not null or close is not defined
removed service container from twig\flash