convert company profile modals to $modal