Rich notifications extended with clear example

How do you make notifications disappear ?