fixed segfault that was happening on repeated artifact dialog opening