moved tab metadata to dialog