correction class button in doc and template modal