In previous blog posts, we've covered how to use CUI to create custom menu buttons . The example covered in that post was for a button that always needed to be available, but there are times when we may want a custom action to be available only under…