Update modal dialog