move the absolute url logic to a resource base signal
fix document form and view