add removeAction method to layer actions