onQueryToolClosed
onQueryToolClosed()
This callback function is called when the query tool is closed.