It was already transient-for and modal, just missing the right window type. https://bugzilla.gnome.org/show_bug.cgi?id=644213
The dialog is able to add printers discovered by cupsGetDevices(). It can also add printers from a remote CUPS server by typing its address and selecting printer we want to add (#640734).