Added generic Dialog static class.