Native Dialog class modifications

@david-daal