Removing href from first close method in modal.html