Trigger not working

Hi Guys,

This my first-day using webflow and I was playing with triggers.
Basically what i did is:

  • created a button
  • created a webform
  • created a trigger for open/closing the form

In the trigger itself i selected:

  • hide/show (display:none [as initial state]
  • secondly opacity
  • hide/show display: block

What I want to achieve is by clicking on that button the form pop-ups and when I click on the form it closes. I’m doing something wrong here, does anyone know the solution for this?
Thanks