Test if alert dismiss works.