Create res-votedialog.js