add close button to entities advanced search