CMS-1647 Improved TypeScript-ed api DeleteDialog
ModalDialog is now automatically self-centered