Modify advanced search dialog to use response codes.
Fix resources file removing line from filechooser.