only accept control once the target page has fully loaded