Adds a flash notice when an entity is persisted