fixed the add tag dialog