Modal box revision for API