tried to use $modal, not working yet.