need help with the code will not close window buts opens the right window

Printable View