setting advanced search to stay open if advanced options are selected.