Fix crash in destruction of standalone forms
If we just give the Dict to Object() it doesn't increase the ref so on destruction we do one unref too much (because we had done one ref too few) and crash
If we just give the Dict to Object() it doesn't increase the ref so on destruction we do one unref too much (because we had done one ref too few) and crash