Force onopen event