convert captable cell modals to $modal