Adding X close buttons to the index modals

Still trying to make the javascript