legal considerations when selling property