disable viewer commands when pane is set to empty