Add missing event handler for Search Objects dialogue.

Signed-off-by: olshevskiy87 <olshevskiy87@bk.ru>
Various minor cleanups and buglet fixes. Reviewed by Akshay Joshi.

Signed-off-by: olshevskiy87 <olshevskiy87@bk.ru>