Describe the solution you'd like
Configure a button to popup when in a "usable" state.
Describe alternatives you've considered
Provide a UI to configure a particular button to enable this feature. Make this UI configurable for "macrotext" configurations as well.