only require dialog tool if it is needed