STSM: display search model
stsm: various fixes to the document search panel

- do not show button bar with search model if there is no model
- set minimum size of button bar to 150 (so that it is not cut)