implement adduct/formula edit ui