keep current document selected in doclist on document change