Dialog windows open conditionally

This can still be provided and that is still documented. The default is not specified here anymore, but in the `dialogs.js`.