public override void Run(Canguro.Controller.CommandServices services)
{
string path = "";
string currentPath = services.Model.CurrentPath;
currentPath = (string.IsNullOrEmpty(currentPath)) ? Culture.Get("defaultModelName") : currentPath;
System.Windows.Forms.SaveFileDialog dlg = new System.Windows.Forms.SaveFileDialog();
dlg.Filter = "Treu Structure Model (*.tsm)|*.tsm";
dlg.DefaultExt = "tsm";
dlg.AddExtension = true;
dlg.Title = Culture.Get("SaveAsTitle");
dlg.FileName = currentPath;
if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
path = dlg.FileName;
if (path.Length > 0)
services.Model.Save(path);
}