show button if only one type of element can be added