finish modal test