fixed dialog name in main.js