new working modal accepts the styles list