dialogs now use right prototype initialization