set resolver to null in dialog constructor, to fix crash on linux