private void Confirm(object sender, MouseButtonEventArgs e)
 {
     formAction?.Invoke();
     CloseForm(sender, e);
 }