Motionbuilder add button to ToolManager?

Im using Motionbuilder 2018

I got a python script, and i’d like to add a button for it in the Python Tool Manager. I can find absolutely no solution to this and i’ve searched the internet for hours now. Does anyone know how this works???

Script is added to Tool Manager when you use FBCreateTool() or FBCreateUniqueTool().
This will create dialog window that you need to populate with UI elements (buttons etc.).
I don’t know if it is posible to add Tool to Tool Manager list without creating dialog.
You can look at this:,topicNumber=d30e8910
and this example: