coverity#737516 Uncaught exception

Change-Id: I7683cd9a27b09ed9d9b57574212cde14f103d53a
coverity#737536 Uncaught exception

Change-Id: Ia59a64934b65dd926c4f95953bc1ddaf00d6f8cf
ETOMANY getPropertyValue

Change-Id: I787257603e919b12fda07d3302ceba2a7787a9b9
fix 'delete' not working in the Template Manager

regression from b29c078c7f193dd7dae74baf89fe1abb9264239c because if the search
view widget is visible then its assumed that we are in search view mode

Change-Id: I8e81ffa06d5d3ac50e110105c9444707fd4c41c6