CMS-1647 Improved TypeScript-ed api DeleteDialog
Replaced usage of old DeleteSpaceWindow with new DeleteSpaceDialog.