remove dimension button if no dimension