don't explicitly import htmlwidgets functions (they are namespace qualified already)
add saveNetwork function