CRM-15412 - Fix CRM.confirm to add content before opening dialog