The compositions docker allows you to save the configurations of you layers being visible and invisible, allowing you to save several configurations of your layers.
You do this by setting your layers as you wish, then pressing the plus-sign.
If you had a word in the text-box to the left, this will be the name of your new composition.
Doubleclick the composition name to switch to that composition.
The minus sign. Select a composition, and hit this button to remove it.
Rightclick a composition to overwrite it with the the current configuration.
Rightclick a composition to rename it.