Thai immigration demand that all travellers have a return ticket. If you are arriving for 30 days they expect you will leave prior to expiration of 30 days. So should you obtain a 30 day extension your original travel or flight tickets will also need to be extended.