When using ajax requests it seems bad form to remove query and search results when closing the widget ... so I hacked this

implement rudimentary option flag that causes search results to stay when widget closes (defaults to FALSE so that behaviour is unaffected unless the "preserveQueryOnClose" option is activated)