close browser after search