Ajax method created, for modal

Ajax method created, for modal