Dear Javier,
In most cases when you initually turn the dryer on and the flame only stays on for less than 30 seconds has to do with the coils.
There are other things it may be
Click here for someone with a similar problem
Everything else is generally the same exept you have a flame sensor, igniter and coils while they have an element.
CLICK HERE FOR PARTS BREAKDOWN ON YOUR SPECIFIC MODEL