public AddEditIssueSubTypeDialog()
        {
            InitializeComponent();

            var model = new AddEditIssueSubTypeModel() { View = this };
            DataContext = model;
        }
        public AddEditIssueSubTypeDialog(int id)
        {
            InitializeComponent();

            var model = new AddEditIssueSubTypeModel(id) { View = this };
            model.DataLoaded += obj =>
                {
                    DataContext = model;
                    Utils.ResetOriginalValues(this);
                };
        }