created moderoEnableResourceReloadOnView and moderoDisableResourceReloadOnView functions