removed multiple body and header tags

fix tag dialog so that it doesn't flash on load