Alright, decided I could get this and I have your solution:
Go into your macro and move CloseWindow above OpenForm.
Not sure why this works, but it does. It also works if done this way in VBA. Be wary though, this can cause trouble if you have other pertinent commands that need time to be...