Updated closing modal test