updated to latest changes from froala, which includes a new setDirty method