I am unable to see the youtube video but I suspect the buttons are using variables. On the Layout tab of the diagram there will be a 'show' option. By clicking on 'conditional' you will be able to force the diagram to appear only when the variable is a certain value.
For more information and examples on buttons have a look at: