make portal reloading optional