Update DialogModel.js