OptionDialog apiName was missing