Added ConfirmDialog abstract class.