Disable buttons when no selection.