improved enabled/disabled for palettes