Remove extraneous debug code.
Move comment that got misplaced.
Fix potential dependency issue.
Make add_products_select_quantity_dialog act more like transfer_products dialog.