addfeaturedialog kinda functional