Adding format modal to layers details