finish editing sidebar and content