private void EtiquettePicker(object sender, RoutedEventArgs e)
        {
            Resource resource      = dgrMain.SelectedItem as Resource;
            Resource fake_resource = new Resource();

            if (resource == null)
            {
                MessageBox.Show("Morate prvo odabrati resurs", "Greška",
                                MessageBoxButton.OK, MessageBoxImage.Error);
                return;
            }

            foreach (Etiquette tag in resource.Tags)
            {
                fake_resource.Tags.Add(tag);
            }
            var form = new EtiquettePicker(manager, fake_resource);

            form.ShowDialog();

            new_tags = fake_resource.Tags;
        }
        private void EtiqettePick(object sender, RoutedEventArgs e)
        {
            var form = new EtiquettePicker(manager, resource);

            form.ShowDialog();
        }