When closing modal by clicking "X" in student list page, the  modal's fields will be reset.