public TransitionsWindow(Window owner)
        {
            InitializeComponent();

            changedTr = new List <Transition>();
            addedTr   = new List <Transition>();

            this.Owner           = owner;
            this.Owner.Effect    = new BlurEffect();
            this.Owner.IsEnabled = false;
            this.Closed         += TransitionsWindow_Closed;
            db = new DBWrapper();

            table.InitializingNewItem += Table_InitializingNewItem;
            table.CellEditEnding      += Table_CellEditEnding;
            table.ItemsSource          = db.Transitions.ToList();
        }