Building a new custom action and need to determine if the action is in a site or list workflow and display the appropriate dialog. If the action is on a list workflow I can use the current item from context.
If the action is a site workflow the configuration dialog will have to request list ID and item ID.
Any examples of how to modify the dialog aspx page for site vs list workflows?