format common data, style modal