Working on the metadata dialog class