Add custom context menu item to shared blocks list

I would like to add a context menu for the shared blocks overview (image: https://ibb.co/m2X7Eb . I used this sample to add a context menu item to the page tree: https://github.com/episerver/EPiTranslateFlowDemo which works like a charm. How would i go about adding a context menu item to the shared media? Hope someone can point me in the right direction.

Running on CMS 9.7.1 now for this

#185965 Edited, Dec 07, 2017 14:47