fix small cancel save as csv bug

Signed-off-by: Werner Macho <werner.macho@gmail.com>