Attach distribution and distribution not visible for non-saved dataset

Signed-off-by: A. van der Pluijm <info@urbanlink.nl>