Custom button and prompt on data asset

I have a specific data asset type that I’d like to add a toolbar button to.

When a designer clicks the button, I’d like to prompt them for some information and then allow them to proceed/cancel. This is to allow them to upload some of the data asset information to a backend service and I have to gather some information about which service environment they want the asset in.

Does anyone have any examples or pointers of where to look for how something like this could be done?