Marcelo,
OK, now I see the issue.
As I mentioned in a previous post, you should clone the global font before assigning it to a dialog.
Local oFont:= oClone( AppFont() )
This way when the dialog ends the font, it doesn't have any effect on the global font or the global font counter.
James