[OE-4388] -  add close buttons generic functionality for alerts