(2) Burglary is a third degree felony unless it was committed in a dwelling, in which event it is a second degree felony.
(3) A violation of this section is a separate offense from any of the offenses listed in Subsections (1)(a) through (g), and which may be committed by the actor while in the building.