fix state handling when editing lyrics/figured-bass etc.