made session flashes closeable with configuration

With the following configuration

````yaml
mopa:
    flash:
        closeable: true
````

Session flashes are now closeable, meaning it adds the X to flash message