added buttons to close alerts