clean up spring sum/max through new helper in all dialogs