what seems like a better test for no close button on alerts