fixed tag preselection in tag dialog