app: fix opening multiple files in file_open_dialog_response()

Don't loop infinitely around the list's second file.