add formatting to modal