[~] add initView method to dialogs