How do I create an Overlay blend, with alpha support

I’d like to apply an overlay blend to an existing material using mask - similar to Substance Designer’s blends.But the Blend_Overlay node doesn’t support alpha.

Can I fix this? Or duplicate the node and add alpha support?