Dialog bug is lagging by one