Changes to the Dialog class, planning to use absolute centering.