Smart dog get himself ready to bed