Dialog create fix