Modal closure confirmation test