add new js for modal