Finish implement SubWindow on both iOS and Android including test case.