add alert for selecting more than two dimensions