Update dialogs to resolve dartanalyzer errors
Update dialog_class.dart to add basic functionality