Basic idea working.

Still have to figure out how to set the title on the
subsequent JDialogs.