updated model styling and did the modal js