allow flash alerts to be closed