Dialog: auto pointer fix