adds button to docList