Add cancel buttons and dialog for delete button