Bind custom class to Dialog?