CMS-1647 Improved TypeScript-ed api DeleteDialog
Fixed removeClass