Update js/m2.dialogs.js fixes #62