Pass content by reference to allow external modifications, only create ui structure once