Edit bird: Clean up render method of EditPageItem