In previous blogs posts, we've learned how to add a new button to our menus as well as add new keyboard shortcuts . Both of these lessons are great when we want to allow our users to perform new kinds of actions, but how do we prevent our users from performing…