[ui] hide results of previous query before sending a new query