Update lib/dialogs.xsjslib, fixes #5