private void DeleteButtonClick(object sender, RoutedEventArgs e)
        {
            MessageBoxResult result = MessageBox.Show("Do you really want to delete \'" + Project.Name + "\'?", "Confirmation", MessageBoxButton.OKCancel);

            if (result == MessageBoxResult.OK)
            {
                ProjectModel.DeleteById(Project.ID);
                Projects.CloseDialog();
                MainWindow.Instance.OpenProjectList();
            }
        }