changes a tag to button for link and removes preventDefault from js, also adds default link pointer style for close link