Forced to use the new DialogAPI.