You can use a custom rendering condition to overlay the standard action and impose specific conditions that must be fulfilled before it is rendered.https://docs.adobe.com/content/help/en/experience-manager-64/developing/extending-aem/customizing-consoles-touch.html