How to avoid setting up a messy situation for you and your loved ones with some long-term planning.