show and hide layer editing controls