add parameter in resave dialog whether to deflate hdf5 datasets