confirmaton ui component inherits dialog.