Small fix , $modal removed.