enable buttons only if there are active selections