Make some changed to the model to make a dialog workable.