Use dialog() consistently to only allow one instance of each dialog to be
open.

Some dialogs, like DrawTools Opt, don't work properly when multiple
instances are open.  Most others simply do not make sense.
Merge branch 'dialog-fixes' into local