Hey,
I attached a demo project with an example for opening a costume modal from a table action.
You can run it, then go to Warehouses from the menu, in the Select, pick Revise and a modal will open.
You can see I generated a View and a Controller of Warehouses.java. You can generate the view and controller by right clicking the model -> Open Legacy -> Generate View/Controller.
In the View I created a normal modal (you can find in the Bootstrap documentation).
Then in the Controller.js, you can see that Openlegacy generated a controller (starting from line 344).
Each table action goes to the $scope.doActionNoTargetEntity function (line 368) so i added two things.
1) I created a costume variable called 'warehouseDetailsCopy' (line 360) that will hold the WarehouseDetails data.
2) I added an 'if' statement before the statement that leads the app to another page (line 376). If the app is redirected to 'WarehouseDetails', I copy the model.entity into my new variable and 'show' the modal i created in the view.
All that left, is mapping the angular variables however you wish to in the modal. In my example I created labels and showed the data in spans, for example:
<div class="col-xs-12">
<label>Warehouse Number: </label>
<span>{{warehouseDetailsCopy.warehouseNumber}}</span>
</div>
Tom