MDL-60657 boost: fix styles when extending modal components