remove Dialog class, replacing int consts with MessageBoxIcon enum.