VE-471: clear query input on close.