Update res-votedialog.js