Finished porting dialogs to classes