Add an "encapsulate" button to the layer dialog. Can someone design a better icon...