[OE-4404] Added option to disable optional element actions