Adds close link for tags. Fixes paths