Buttons only appear when needed

They don't appear if editing them won't affect the current tool.