Added buttons in search result dialog and implemented delete operation