Hide folder-oriented actions from context menu if there is no folder in view.