How do you setup conditionals in WLED?

Can WLED enable/disable (allow/deny triggering) a preset based on the state of a button?

Example 1:

if 'button1' is closed, pressing 'button2' triggers 'preset1'else if 'button1' is open, pressing 'button2' triggers 'preset2'

or alternatively,

Example 2:

if 'button1' is closed, 'preset1' is enabled (can be triggered).else if 'button1' is open, 'preset1' is disabled (cannot be triggered).