BRANCH 4.1:
   prevented saving of last_search data if there is no search view in the SearchWdg. It happens with using only the TableLayoutWdg