activate layer controls only when layers are loaded