adds toolbar on the document