added missing markdown dependency
added clear method to remove buttons and callbacks