require save before preview of shinydoc