Slyvain,
>What's the best way to return a value from a modal form class?
If you are using a class and instantiating it with createobject() you should look at using an interface object. There is an example on my website, it's geared towards DO FORM but works just as well for createobject() forms.