adjust alerts to make them closable