persist visibility state of dock between sessions