Hide the configure device button when the popup would be empty