updated dialogs to dialogbase class