CMS-1647 Improved TypeScript-ed api DeleteDialog
Added helping methods on HTMLElementHelper