[CDE-422]: Warning window to big when apply template

@pamval please review