move BuddyWindow to Layout API