Finished the DialogAPI core.