Pass it through the constructor when you create your dialog's instance, that's one way. Just rewrite your dialog's constructor to take whatever parameter you want.
The other way could be by making a getter in your dialog and call it after you create your dialog and before you show it for example depending on your need.
Good Luck.
Bookmarks