change crop mask layer and disable Msg.alert if notSupportedLayers