Add flash messages on doctrine events