remove unneccessary a tags from the directions modal