public void ShowAddJointsDialog() { inputDialog.Open("Create new joints configuration", "Please set name of the new joints configuration", "Name", CurrentActionPoint.GetFreeJointsName(), () => AddJoints(inputDialog.GetValue()), () => inputDialog.Close()); }