Fix HDF5 dialog after changes. Do not save empty dataset attributes.