Dialogs initialization change