Restore self.resp variable in searchDialog.
Removed extra imports
Fixed code style.
Removed extra prints