add modal button for toolbar and sideframe button