trying to fix bug search flyout remains on screen after search is done.