fix broken modal when saving reports that don't use dateranges

tiny cleanup elsewhere

fixes Case:80396 and Case:80395