[DF-2822] fix wrong custom colors closing