Fixed dialog system to better support sections

There was a problem with the sections. Now everything seems to work
fine.