Made the info dialog more flexible.