modalClose() check target