reformat code
 dialog style activity