Fixed close declaration for dialog plugin

The close declaration in Durandal's TypeScript d.ts file would not allow
for passing result parameters. Fixed by adding a rest argument called
results.