Behaviour return promise from render method