Print the mode in the "add pin" window only if at least one pin is available for the mode