If the binary file is an image, on a button or the UI element you need, configure an action set like this
Local action is a flow action , configure a flowaction with a section as below and Template Name would be default pzModalTemplate which can be customized if you need.
in that section insert an image with sorce of binary file.If you want this source dynamically set somewhere, use a Data Transform in the preprocessing of flow action and set some property value with source link and use this property as a source to the image.
This will open the binary in a popup. Hope this helps.