Add open and close buttons.