style codes_template, now have modal before code