update to clear dialog