Change class adding on modal open to make the x go to the right