add setting to tag close