Pie Menu Editor 1.18.7

Hi, I need help with this one:

Sculpting mode. I want to isolate masked area in one action:

  1. Expand by Topology ( with keep previous )
  2. Invert mask
  3. Hide masked

Problem is that script doesn’t allow me to finish expand mask and it goes further info 2nd and 3rd step.

Any ideas?