Fixed hang of GetTagNameDialog when user types in an existing tag name