Initialize Query window when query is empty.
Add table direct action