create one time dailog builder and class