CustomDialog is a cutom dialog widget.