added animations to the intrested Modal and also page reload if the code is correct