(CE-669) Move dismissed message handling to client

To avoid issues with varnish since it's a shared cache. Now only one URL needs to be cached too.

@macbre