fixed file open dialog cancel redundancy

made it so canceling out of the log save dialog, csv save dialog, or the
USB IR Toy open dialog, does not crash the program