It is so nice you are taking the time to think about things before acting on a whim. So kudos to you!
As already said, dog saliva is toxic to birds and smoke is also toxic to their delicate respiratory systems. Being in a small apartment may also be problematic for other reasons - such as if you use any type of chemicals, Teflon pans, cleansers, air fresheners, etc which are also toxic to birds.
Unfortunately it does not sound like you are in a situation to give the birds a safe home.