elements.dialog: upgrade