Change the variable name in function MainWindow::saveModel (arquivo_dlg to file_dlg)