Its not a custom dialog I want to show but the editors InsertFile dialog. But maybe it is done the same way?
What I do in 5.3 is that I store the Hash in a variable that I use later on to open the popup. But Maybe I dont need that string in version 6?