Expandable search box with close button