fixed issues when hiding and showing special characters popover